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

Using shields.io twitter badge does not seem to work #518

Closed
stefansiegl opened this issue Aug 27, 2015 · 3 comments
Closed

Using shields.io twitter badge does not seem to work #518

stefansiegl opened this issue Aug 27, 2015 · 3 comments

Comments

@stefansiegl
Copy link

Hi,

Shields.io is really offering a great service, lots of thanks for that. I was trying out the badge for twitter and tried to understand how to set this up correctly and fail.

On your homepage you show an example of the twitter badge: https://img.shields.io/twitter/url/https/shields.io.svg?style=social - this shows 0 tweets, which I think is wrong.

I tried to use the shield with my twitter account (sieglst) and guessed that the badge should be: https://img.shields.io/twitter/url/https/sieglst.svg?style=social - this also shows 0 tweets.

What do I do wrong?

Thank you,
Stefan

@espadrine
Copy link
Member

Thank you for raising this issue!

I actually believe that nobody has ever tweeted https://shields.io, because the secure version of the website is (shame on us!) using a self-signed certificate, because of various issues and an awkward setup (which will change reasonably soon).

On the other hand: … I'll switch to the non-TLS version on the front page.

I believe the purpose of the badge is unclear. You believe the badge shows the number of tweets produced (right?), while it shows the number of tweets related to a URL (for instance, http://shields.io). Since the URL https://siegl has never produced any tweet, that number is zero.

I will change the front-page title from "Twitter" to "Twitter URL", if that is clearer.

(Self note: https://dev.twitter.com/rest/reference/get/users/show has user lookups, with followers_count and statuses_count; curl 'http://cdn.api.twitter.com/1.1/users/lookup.json?screen_name=stefansiegl' requires auth.)

@stefansiegl
Copy link
Author

Ah, now this explains it. Thanks a lot.
I also briefly checked the twitter api and it seems that everything interesting requires some kind of auth.

@espadrine
Copy link
Member

I'll close this in favor of #527

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

No branches or pull requests

2 participants