Hey. I have successfully installed the Twitter streaming API. I can read statuses, but I donβt know how to distinguish tweets and retweets.
http://dev.twitter.com/pages/tweet_entities
So my questions are - How do you know this is a tweet / retweet - how can I get a list of user IDs that renamed the original tweet?
thank.
{ "retweeted": true } - this is only the case if a user registered in the streaming API retweeted.
{ "retweeted": true }
See http://blog.programmableweb.com/2010/08/30/twitter-api-adds-retweet-count-and-more/
RT, , . Jut track "RT @Jack" "RT @Paul".
In JSON you will return from the API, you will receive the following data:
{ "retweeted":false, "text":"Testing streaming api", "geo":{...} }
Just get the value retweetedand you have the answer.
retweeted
Source: https://habr.com/ru/post/1780177/More articles:How to install freeimage.dll on Windows? - imageLimitations of the Levenberg-Marquardt algorithm - optimizationpssh file and known_hosts - pythonTinyMCE does not work when loading two text fields - tinymceFrom jpg to animated gif - image-processingHow to run test cases from a browser in cakephp - unit-testingPull Retweets using Twitter user_timeline in JSON - twitterWhy is Spring AOP XML Schema loaded correctly when Tomcat loads and reads beans.xml - javaC ++: difference between 0. and 0.0? - c ++Custom / Simplified Maps with OpenHeatMap and / or OpenStreetMap - mappingAll Articles