Comments (5)
I will take a look if the image can be retrieved from the GitHub response.
from gitprofile.
Unfortunately, GitHub API does not provide the social image URL. Please let me know if you find any other way.
from gitprofile.
Hi, I just found a method online, it's from GitHub GraphQL API v4.
With the above code, we can get the social image URL. Sorry about my limited experience with website development, I'm not sure if we can use it.
Origin source: https://stackoverflow.com/questions/56691229/how-can-i-get-my-social-preview-image-link-of-my-github-repo-using-git-api-or-an
from gitprofile.
GitProfile is using the GitHub REST API instead of the GraphQL API. There are some major differences between those APIs. We have no plan for migrating to GraphQL currently. But any PR for the migration is welcome.
from gitprofile.
Got it, thanks!
from gitprofile.
Related Issues (20)
- Adding Support for Emojis HOT 5
- No blog posts will load on build HOT 2
- page not loading HOT 9
- Suggestion - remove capitalizing github projects. HOT 2
- Project tags for `externalProjects` HOT 1
- Adding discord link
- Do not show country flag emojis HOT 2
- Bug: Hidden theme dropdown menu behind the profile card HOT 7
- Add youtube link in social
- Adding pinned Repositories HOT 1
- Redirecting issue HOT 7
- [ASK] Change PORT Localhost HOT 1
- Restructure config
- Config to display specific GitHub repositories
- I think there could add a internationalization tool like i18n HOT 4
- Update node version of GitHub actions HOT 2
- Image doesnt load HOT 2
- Resume repo location instead of url HOT 2
- Add section for Publications HOT 6
- Add ResearchGate social link
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitprofile.