Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add send_ogp_link_card (Open Graph protocol) example #273

Merged
merged 2 commits into from
Feb 10, 2024

Conversation

OhkuboSGMS
Copy link
Contributor

Hi, first of all, thank you for the wonderful project

Added an example of getting og:image from a site and posting a link card with an image.
Please merge if you like.

like this:

2024-02-10 19_57_01-ホーム — Bluesky

@MarshalX
Copy link
Owner

Hi! Thank you for your contribution! I cleaned up the example and moved to httpx lib because it should be already installed (SDK uses it). Also, I made the image optional (atproto allows it). Does that look good to you?

@OhkuboSGMS
Copy link
Contributor Author

Thank you! No problem. LGTM.

@MarshalX MarshalX changed the title Add post link card with og:image,og:title,og:description Add send_ogp_link_card (Open Graph Protocol) example Feb 10, 2024
@MarshalX MarshalX changed the title Add send_ogp_link_card (Open Graph Protocol) example Add send_ogp_link_card (Open Graph protocol) example Feb 10, 2024
@MarshalX MarshalX merged commit 2dc35b6 into MarshalX:main Feb 10, 2024
23 checks passed
@OhkuboSGMS OhkuboSGMS deleted the post_link_card_with_image branch February 10, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants