Twitter streaming API with GAE Java

0 views
Skip to first unread message

Pokuri via StackOverflow

unread,
Jul 19, 2015, 10:38:13 AM7/19/15
to google-appengin...@googlegroups.com

As per my app requirement

  • I have to read tweets mentioning my user twitter ID irrespective of he logs-in. But I doubt that GAE allows me to make a live connection with Twitter Stream API
  • If it wont allow I have go with Twitter REST API to pull tweets in background
  • Or is there any way twitter posts me the user tweets to registered my app ULR just like facebook(where whenever a comment added it posts that event to my application URL registered with it)
  • From my app the same user can delete tweets related to him from twitter

Please suggest me the way to achive the functionality along with any useful libraries of java



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/31502312/twitter-streaming-api-with-gae-java

Jesse via StackOverflow

unread,
Jul 19, 2015, 2:08:12 PM7/19/15
to google-appengin...@googlegroups.com

If we want a long lived connection to the twitter streaming api, you're right. Appengine is not a good use case.

However, there is nothing stopping you from spinning up a VM or Cluster on compute engine to handle the streaming traffic from twitter. From there your VM or cluster can communicate with your appengine project and do what you need to do with the tweets.

In regards to libraries or code your on you're own for that part of this, but that's the approach I would take.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/31502312/twitter-streaming-api-with-gae-java/31504277#31504277
Reply all
Reply to author
Forward
0 new messages