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

🐛 BUG: DevCard instructions do not give the intended results. #1523

Open
1 task done
StephenDShelby opened this issue Oct 18, 2024 · 5 comments
Open
1 task done

Comments

@StephenDShelby
Copy link

StephenDShelby commented Oct 18, 2024

What went wrong? 🤔

Replacing francescociulla in the Read.me with my own GitHub ID does not result in a devcard.png being generated and displayed on my GitHub page.

<a href="https://app.daily.dev/francescociulla">
<img src="./devcard.png" width="356" alt="Francesco's Dev Card"/>
</a>

This code creates a link to my reading statistics on daily.dev.

https://app.daily.dev/my_id

The only way to get the devcard.png to be generated is by using the code with the secret.png that is generated when generating a DevCard.

<a href="https://app.daily.dev/my_id">
<img src="https://api.daily.dev/devcards/v2/secret.png?type=default&r=dym" width="356" alt="my name's Dev Card"/>
</a>

Expected Behavior

I expected that the DevCard would be generated on my GitHub page.

Steps to Reproduce Issue

  1. Follow the instructions on the following web page:

https://daily.dev/blog/adding-the-daily-devcard-to-your-github-profile?utm_source=webapp&utm_medium=devcard&utm_campaign=devcardguide&utm_id=inapp

Solution Proposed

No response

Screenshots

![DESCRIPTION](LINK.png)

Environment

No response

Browsers

No response

OS

No response

Version of daily.dev

No response

Additional Context

No response

Code of Conduct

  • I follow the conditions of this project.
@StephenDShelby StephenDShelby changed the title 🐛 BUG: DevCard instructions do give the intended results. 🐛 BUG: DevCard instructions do not give the intended results. Oct 18, 2024
@omBratteng
Copy link
Member

If you go to the DevCard page, you'll see a section about embedding the DevCard on your GitHub profile. Inside there there's a code snippet that you can use, it includes all you need.
I see you also have the GitHub action added to your repository, however I think you have set the wrong value of the USER_ID, you can find that value, either in the code snippet mentioned above (starts with s5b...), or you can find it on https://api.daily.dev/id

@omBratteng
Copy link
Member

The code snippet is something like this

<a href="https://app.daily.dev/ombratteng"
  <img src="https://api.daily.dev/devcards/v2/XDCZD-PHG.png?type=default&r=paz" width="356" alt="Ole-Martin's Dev Card"/>
</a>

The first URL is the link to my profile, that should have your username. The second one is the link to the actual DevCard png. There you should have your userId, which mentioned, can be found in the code snippet or on https://api.daily.dev/id

@StephenDShelby
Copy link
Author

StephenDShelby commented Oct 18, 2024 via email

@StephenDShelby
Copy link
Author

StephenDShelby commented Oct 18, 2024 via email

Copy link

This issue is stale because it has been open for 30 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants