function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Artyom GrigorArtyom Grigor 

REST API into Opensocial gadget.

Hello,

I've read a lot of docs but don't understand how can I use a REST API into Opensocial gadget. As I understood I must get a token for API by two ways:

1) Log in in Force.com and redirect than to my app. However I can't do that because my app is a gadget and I can't handle a response

2) I can't use grant_type=password because user doesn't know his security token.

 

Could you help me or give some advise? I really don't know how to deal with this problem.

 

Thanks.

shufflepointshufflepoint

Can you post some URL references on opensocial gadgets to provide a context?