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

Twitter: follow user? #527

Closed
JamieMason opened this issue Sep 9, 2015 · 2 comments
Closed

Twitter: follow user? #527

JamieMason opened this issue Sep 9, 2015 · 2 comments
Labels
service-badge Accepted and actionable changes, features, and bugs

Comments

@JamieMason
Copy link

Hey,
I was wondering if someone could help me please. Is it possible to create a shield to follow a Twitter user? What I have below is mostly ok (I'm fine with it just being a link to my profile) but what I've done is adjust the tweet URL shield and I'd like to not show the counter if possible.

Markdown

[![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/fold_left.svg?style=social&label=Follow%20%40fold_left)](https://twitter.com/fold_left)

Output

Twitter URL

I've looked around the source but can't see anything, it could be that this simply isn't available.

Thanks for such a useful service.

Jamie

@espadrine
Copy link
Member

Oh, I know I had a self-note somewhere about something similar…

There! #518 (comment)

(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.)

The auth part is the thorn in our feet. The rate-limiting, too: 180req/5min, or 12req/min.

That said, you're right, we don't have the functionality currently.

gcochard added a commit to gcochard/shields that referenced this issue Oct 9, 2015
gcochard added a commit to gcochard/shields that referenced this issue Oct 14, 2015
This adds a twitter follow badge. It also updates the social template
to include a `nobubble` option which will ignore the data in text[1]
and not draw the bubble to the right of the badge. Simply add
&nobubble=true to the URL of your badge.
@espadrine espadrine added the needs-upstream-help Not actionable without help from a service provider label Nov 10, 2015
@JamieMason
Copy link
Author

Brilliant @espadrine, thanks so much.

yannickglt pushed a commit to yannickglt/shields that referenced this issue Dec 23, 2015
This adds a twitter follow badge. It also updates the social template
to include a `nobubble` option which will ignore the data in text[1]
and not draw the bubble to the right of the badge. Simply add
&nobubble=true to the URL of your badge.
@paulmelnikow paulmelnikow added service-badge Accepted and actionable changes, features, and bugs and removed needs-upstream-help Not actionable without help from a service provider labels Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

No branches or pull requests

3 participants