What is the best practice to post activity while running the app under
iframe?

I am developing an app that is written in PHP. Orkut app calls the
javascript, js submits the form to PHP program and PHP program execute
the app. Once the control is handed over to PHP, I have no way of
accessing opensocial APIs. I am thinking of following ways to post the
activity.

1. Run a cron job to take the recent activity from the database and
post it using opensocial.requestCreateActivity.
2. Execute makeRequest API when a user views the app in profile view
and get the activity data and post it.

Is there a better way to do it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to