is there a way to get the impressions of tweets generated through the api? or the most retweeted tweet that an app/api generated?
According to this answer by a Twitter developer here, there doesn't seem to be a way to programmatically access the data from http://analytics.twitter.com.
Related
Is there a way to get tweets of users who i am following using Account Activity API?
Or there is any way to get tweets of specific users?
Yes, absolutely! If your account is subscribed to the AA API then you should see Tweets mentioning you on the webhook. If you are interested in Tweets from specific users then use the timelines API.
How can I download all (or most number) of someone's twitter timeline?
Is there any website can do this, or maybe some application or excel sheet.
I am not that good with API, so anything simple will be good.
You will have to use the Twitter Timeline REST API and iterate to get up to 3200 tweets from his timeline.
Documentation : https://dev.twitter.com/rest/reference/get/statuses/user_timeline
If you are using C# I can provide an example using Tweetinvi.
Is there a way in the Twitter API v1.1 to get the id's of all the users that replied, favorited and retweeted to a particular tweet using its id?
I've searched in older posts but I didn't find an simple way to do it.
Thanks
According to Twitter Staff Episod,
It's not possible with the API after the fact for a tweet that has more than 100 retweets. You would need to collect them in real time as they happen to collect them all. The Streaming API is the best bet for tracking such things.
So, you can only get 100 Retweets ID of a tweet through REST API. Move to Streaming API to get all the Retweets ID but you can't get the past data. You can only get data in Streaming API from present - to - future.
I want to see how many tweets does a link have. For Facebook, you can use FQL to get the number of Likes each page has.
Is there a page in the Twitter API documentations that describe how to do this?
This seems to work, without authentication:
http://urls.api.twitter.com/1/urls/count.json?url=example.com
For example, to get the number of tweets for this random page on mashable:
http://urls.api.twitter.com/1/urls/count.json?url=http%3A%2F%2Fmashable.com%2F2012%2F01%2F21%2Ftop-10-tech-this-week-13
Returns the following JSON:
{"count":1204,"url":"http://mashable.com/2012/01/21/top-10-tech-this-week-13/"}
Twitter hasn't released any developer APIs for analytics based on links (assuming you're only interested in links that are wrapped by the t.co wrapper). You can look at the existing documentation but it's not very good.
I don't believe there will be any API for getting the number of tweets that link to an arbitrary url.
I'm trying to get the last tweet from the people I follow using the twitter api (http://api.twitter.com/1/statuses/friends.json&screen_name=[username]), but I noticed that if the user's last tweet is a retweet, the json data does not contain a "status" element.
Using the "user timeline" api does not work either, the last tweet is the last non retweeted tweet.
Is there a way to get the real last status, even if it's a RT, through the twitter API?
This was addressed recently by the Twitter devs. You can now add a include_rts=true to your call to user_timeline. See the full discussion here: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/7a4be385ff549ed0