Is it possible to get user posts and replies to this posts in real time though the Twitter API? I tried to do it with webhooks.
Related
I have noticed the common way to get the user's tweets is using timeline() but I want to get tweets of people I follow which twitter calls friends.
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.
I need to get the following stats for a twitter account on daily basis:
Likes per day
Replies per day
Retweets per day
Followers per day
Just like facebook graph API request "/me/insights/page_impressions?period=day"
I am trying twitter ads api but its not working. Can someone please tell me exact api and query.
Thanks in advance!!
This is possible using the commercial Twitter Engagements API from Gnip. The Ads API is for promoted content.
When user posts the any post from the app, then he wants to get count of the likes and comments of post I get that all count,
but my question is when any one likes the post, Facebook provides any type of trigger on my server (can I get Automatically response of that post on my server.? )
Check out webhooks.
The Graph API has a feature called Webhooks (formerly known as Real
Time Updates) that enables apps to subscribe to changes in certain
pieces of data and receive updates in real time
If you cannot find what you are looking for there then it probably is not possible.
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.