cjrasmussen / BlueskyApi

Simple helper for interacting with the Bluesky API/AT protocol
MIT License
16 stars 3 forks source link

Request - Example with picture upload #1

Closed edel79 closed 1 year ago

edel79 commented 1 year ago

Hello, thank you for this peace of code, usefull ti me. It would be more, with a working sample of how to upload a picture and then attach it to the post to publish.

Here is the theorical way of doing it: https://atproto.com/blog/create-post#images-embeds

Thanks in advance :)

cjrasmussen commented 1 year ago

Dropped that particular example into the README but I'm not looking for this to become documentation for how to do everything Bsky can do. I do have some examples in a blog post: https://cjr.dev/2023/07/04/php-and-the-bluesky-api/.

edel79 commented 1 year ago

Thank you for that. I'm new to the AT protocol so this will be very helpful to me.