Comments (6)
+1
from github-buttons.
Can you show me the code you use?
from github-buttons.
Example:
<iframe src="http://ghbtns.com/github-btn.html?user=therealklanni&repo=badger&type=fork&count=true&size=large"
allowtransparency="true" frameborder="0" scrolling="0" width="100%" height="30"></iframe>
For me, the counts were showing up for about 15 minutes, as I was developing (refreshing the page as I preview my work), then stopped appearing, and I now only see undefined
where the count should appear.
Edit: after another approximately 10-15 minutes the counts do appear again. This may be GitHub throttling the API calls. (In all I did maybe 2-3 dozen refreshes in a 30-45 minute timespan before it started displaying undefined
)
from github-buttons.
Since I setup the count info on a page before finding this great project, I was able to see what the API was returning...
{
"meta": {
"X-RateLimit-Limit": "60",
"X-RateLimit-Remaining": "0",
"X-RateLimit-Reset": "1394570581",
"X-GitHub-Media-Type": "github.beta",
"status": 403
},
"data": {
"message": "API rate limit exceeded for 123.456.789.123. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
"documentation_url": "http://developer.github.com/v3/#rate-limiting"
}
}
So checkout the API rate limiting documentation.
For unauthenticated requests, the rate limit allows you to make up to 60 requests per hour.
from github-buttons.
Thanks for the feedback, sorry for being awol. I haven't seen this problem on my pages in a while.
from github-buttons.
Closing for #65, which supersedes #48.
from github-buttons.
Related Issues (20)
- iframes should have accessible names
- Improve Cloudflare's caching HOT 2
- Add favicons
- Add social tags HOT 1
- Add icon-only variant HOT 2
- Add queries checks
- Drop support for http? HOT 1
- add support for gists
- https://ghbtns.com/ is not accessiable HOT 2
- The star counter is not working anymore HOT 3
- Keybase proof HOT 1
- Do not use iframe for whole button HOT 3
- SPAM
- Add Web Component version
- Star count no longer showing on one of my GitHub buttons HOT 5
- Link to fork count does not point to members HOT 1
- Add support for progressive enhancement
- Reagading notifications with buttons HOT 1
- Two :star: buttons with a displayed count for different repositories on the same page display count of first repository that loads HOT 3
- Housewares, kitchen utensils and decorative tools HOT 1
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 github-buttons.