Twitter API most tweeted - api

I understand the Twitter API is only getting more restricted, but is it possible to use the search API to find the most tweeted links within a given time period?

That is currently not possible with the Twitter API. It is possible with Gnip (disclosure I work for Gnip), but to figure that out would be very costly. In essence what you would need to do is get every Tweet with a link in it and then from that dataset determine the most Tweeted links.

Related

How to get the list of user ID who click likes and comments in Twitter by Twitter API, like the picture below

Hi, I want to get the user list in one Twitter post as picture shown. but I didn't find the API which I can get this kind of data on Twitter. Is there anyone know how can I get this data. Thanks
The official API does not include that functionality.
You will find that there are lots of actions which are available on the official website & apps which are not allowed in the API.
Sorry.

Monitor twitter hashtags in realtime with common search api?

I've been working with the twitter search api, retrieving tweets with a php script run by a cron job, 3 or 4 times per hour.
All works fine, I can save some fields from the resulting tweets into mySQL for doing some research, contests, and accounting.
I begun experiencing some "trouble" some days ago when some hashtag hit Global Trending Topic, and the saved tweets werent't reflecting the real quantity of tweets We could see through search, etc.
So:
1- Should I use instead the twitter Streaming API?
2- Should I contact api AT twitter.com and request special permissions for my app or username?
3- Finally, is there a working way to acchieve this "realtime" monitoring script that can give more accurate and real results?
Thanks a lot in advance
Got a reply from twitter api staff...
It seems I should use STREAMING API, and they point me to this url
https://dev.twitter.com/docs/streaming-api/methods#track
Hope it is useful for others

How to map Twitter directed-graph/topology?

For my research, I want to use some data that can capture twitter users following each other . I want to represent this relationship in a big directed-graph. If you think about this graph it's probably very huge, I want to generate it and perhaps store it in adjacency-matrix format.
However when I tried to make use of Twitter's API, there are some useful methods like GET followers, GET friends I can use. But it has 150query/hour limit. At that rate, I would never finish crawling Twitter and generate a good enough direct-graph.
Is there a better way of doing this?
I remember that one of my friends contact this research group and they provide her a dataset.
http://twitter.mpi-sws.org/
Maybe you should try to find a dataset instead. Try this SO question, the answers provide a few datasets of them.
Twitter Data Archive
Tribalytics-raw provides twitter followers and/or friends raw graph data as a service.
To comply with Twitter API's terms of service, only twitter users Ids are provided. You can extract the users metadata by yourself using twitter's users/lookup API endpoint, which is not so heavily rate-limited.
Full disclosure: I am the founder of this tool, and I have read this before posting

scrape a user's entire tweets

I'd like to pull all of a user's tweets. I could do this the hard way (manually scraping twitter) or the easy way: using their api. The problem with the easy (api) way is that I seem to be limited to the 200 most recent tweets. What's a simple way to get all tweets?
Thanks
Yes you can get up to 3,200 historical tweets by requesting as follows...
Make a request to:
http://api.twitter.com/1/statuses/user_timeline.format
And use the count parameter 200 and iterate through the page parameter from page 1 to 16 or until there are no more tweets.
Thats the only thing you can currently do because Twitter specifically say they prevent this in their API Doc...
https://apiwiki.twitter.com/Things-Every-Developer-Should-Know#6Therearepaginationlimits
I would add, please don't screen-scrape because it will cause undue load on Twitter and in bulk requests it would probably get your server blocked from accessing Twitter.
you can make sure you get all future tweets by subscribing to your Twitter RSS feed with Google Reader. Then you can use their infinite scrolling feature to look back to the first tweet tracked.

Google search results API usage?

My question is regarding the google AJAX search api. I have been trying to figure this out by exploring their site with no luck. How can I use this API on my site but have the results only be the google results from within my site (i.e. only shows the site:mydomain.com results and NOT the results from a standard google.com search)? Is this even allowed per their terms of usage? Thanks.
You can make a Google custom search and tie it to that.