Kevin,

This is how I am going about creating my own php container. Not yet done.
This is just mind work. :)
I have a few doubts with this.

1.) I first use CURL to get the xml file and parse it in php. Perform
hangman variable substitutions. This is done by replacing
__UP, __MSG, __MODULE, and other placeholders with other values.

2.) Then I check what userdata the app requires...  And then ask the user
whether that data can be utilized by the app. (this permission process is
done thru OAuth).

3.) Next the app is provided only with the data it requested permission for
in step 2. If it requests any other data other than common operational data
(like surface type), that is.... when it asks for userdata... only the ones
it obtained permission for will be provided.

4.) Now anyother info that the gadget asks for will be through
opensocial.makeRequest() acccording to specs and reference.


If what I assume is right and can be done, then here are my doubts...
1.) In step 2 what is the brief logic to assign permissions. Is this where a
gadgetsigner token will be generated with the permissions for the gadget to
run?
2.) In step 4, how do I pass my data to the gadget? I do I make it available
when the makeRequest() is called? Do I need to edit the javascript files of
opensocial?

On Feb 1, 2008 12:47 AM, Arun Kumar <[EMAIL PROTECTED]> wrote:

> I'm using _IG_AdjustIFrameHeight()
>
> and in the case of container, I'm using gadgets.container not any special
> open social container.
>
> If I want to use opensocial container, how to use it?
>



-- 
Akash Manohar
[EMAIL PROTECTED]

Reply via email to