Hi,
Just looking for some advice after many an unfruitful read through the various bits of documentation available via Twitter.
Basically I want to set up a Twitter app so it can be used by multiple users. Ideally we want them to be able to sign in, authorise our app to use their twitter account (not sure what the correct terminology is for this), and then use their credentials to connect to the streaming API. Hopefully by connecting to the streaming API on the user’s behalf we can avoid the ‘no more than one simultaneous stream’ issue which we’ve seen when using the same API credentials on multiple development machines.
We only use the ‘track’ keywords functionality and we’re currently using the Twitter gem in a Rails/Sinatra environment.
Is there any guidance available on how to go about doing this? Will allowing the user to authenticate our app for use with their credentials allow us to connect to the streaming API on their behalf and run various simultaneous streams, one per user, without being disconnected with either ‘Duplicate stream’ or ‘Admin logout’ disconnect messages? Or will we still be limited to one simultaneous stream based on the server’s IP address?
Thanks.