Sept. 26, 2023, 8:03 a.m. | Incodable

DEV Community dev.to

Here I will explain quickly how to make a post on Bluesky using its underlying technology (ATProtocol).


First, you need to implement a method to login to Bluesky by creating a session using your regular username and password:



def bsky_login_session(host: str, handle: str, password: str) -> dict:
resp = requests.post(
host + "/xrpc/com.atproto.server.createSession",
json={"identifier": handle, "password": password},
) …

api bluesky bluesky social login password python session social technology

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne