API endpoint for repo social media preview? #32166
Replies: 4 comments 5 replies
-
Same here. I went through GraphQL an REST APIs documentation. No luck. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
@Andrew6rant I think this should be a feature request, may I know why you marked this as answered? |
Beta Was this translation helpful? Give feedback.
-
I built a node.js tool that creates customizable OG images in the style of GitHub's own social media previews. It replicates the technique described on the GitHub blog in A framework for building Open Graph images. I was hoping to automate updates via GitHub actions but it looks like this will not be possible 🥲 I hope this feature gets implemented in the API some day so I can revisit this project! |
Beta Was this translation helpful? Give feedback.
-
Hello, I was wondering if it was possible to change a repository's social media preview image (https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/customizing-your-repositorys-social-media-preview) without going through the GitHub website.
I didn't see anything in the GraphQL API nor the REST API, but I may have missed it.
Thanks,
Andrew Grant
Beta Was this translation helpful? Give feedback.
All reactions