-
Notifications
You must be signed in to change notification settings - Fork 44
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 removes share count api endpoint #46
Comments
Sounds reasonable. |
whats about https://dev.twitter.com/rest/reference/get/search/tweets ? Edit: gives max 100 tweets back... with content and meta stuff |
The rest api search is limited to the last 7 days. You would have to search for the url, count the results and record the timestamp you searched and store both permanently somewhere (not in the cache). When you search a second, third, and so on time you use the timestamp to determine if a result is new and then add the amount of new results to the stored amount. Of course this will only work for new urls. Everything that happened prior to the new system cannot be counted, so all old posts, entries, news, whatever will be zero. http://opensharecount.com basically did exactly this, as I understood it, and provide it as a service in the old Twitter api style. Unfortunately they don't seem all too trustworthy to me. If you want to use that service for yourself (or if anyone else does), I would STRONGLY recommend to NOT use your real Twitter account for it and to NOT provide any real information while registering with this service as well as with Twitter. Just create a another Twitter account with a trash mail address and then registered with that account on opensharecount.com. They gain access to everything on that account and even can tweet in your name! Because of all these reasons, I haven't decided yet, if I really want to add it to our WordPress plugin version of Shariff. I'm really interested though in other peoples opinions about this. The only real way to get accurate share counts now is to pay 5000 Euros and more per month to Twitter for their Gnip apis. Don't think anybody is going to do that for some share count buttons. |
or you use this: |
Did you accidentally post the wrong link or did I overlook something? The link describes the old api endpoint that Twitter just retired. |
the second and fourth post. |
Ah, got it. Well, like you said nothing that really fits to Shariff. Way to much traffic and you need a single account for every domain, otherwise you will run into the limits way too quickly. Maybe there will be other services like OpenShareCount in the future that are more "open" and less fishy. |
Twitter will be removed from the backend as soon as flattr fixes their API and Travis successfully builds this pull request. |
So, no Twitter Share Counts for 'us' in the future? |
@compeak Oh, thanks for the hint, I missed that completely. Looks good. Can you release that asap, so I can release a new version of the TYPO3 Extension? |
Twitter has been removed from all backends. |
Took me some time to find this thread and learn that Twitter counts (unfortunately) are no longer available. I suggest that this information is added to the README.md so other users don't wonder why Twitter is missing in the "Supported services". Should I add a sentence to README.md? |
@stefahn: No. The README clearly states which services are supported and is bundled with every release. |
In case not everybody is aware of it: Share counts for Twitter will stop working today.
https://blog.twitter.com/2015/hard-decisions-for-a-sustainable-platform
Currently I don't see a feasible way around it, so Twitter should probably be removed from the backend.
The text was updated successfully, but these errors were encountered: