Question

I wanted a Twitter-to-Orkut app. Since I haven't found one I was trying to build my own. I haven't found a way to make the app to run periodically without requiring the user opening the app manually. Is there a way to do it?

Was it helpful?

Solution

Well, that's definitely not possible in an Orkut gadget, since they only run when the user is logged in.

  1. If you have a server, you can implement a server-side application that communicates with Orkut via the Client Library. For more information, please check http://code.google.com/p/orkut-os-client The user will still have to log in in order for your app to get an access token (for OAuth), but while the token is valid, you can continue to issue requests in the background.

  2. You can develop a gadget and authenticate your user on twitter using oauth and then fetching tweets in background, showing in the app, becaming available to those who have the app installed;

  3. You can use 3legged oauth to log in on orkut, and then logging in using oauth on twitter. Post tweets through activities and it will be visible on orkut. This approach is similar of what Facebook is doing, but in this case, I dont know how long access token (used to send remote commands on orkut) will live. If it gets expired, you will need to find a way to make user authenticate again.

source: Orkut Developer Forum

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top