panza
Jul 6th, 2011, 07:43 PM
How define can i define on provider side the resources that need to be access passing an access token ?
The tonr and sparklr examples does not need to pass token to access the photos, only require login in sparklr (the provider).
For example, in facebook, to get my friends we have pass a token in url
https://graph.facebook.com/me/friends?access_token=MY_TOKEN
i f i access https://graph.facebook.com/me/friends I got "An active access token must be used to query information about the current user." in a JSON.
How can i provide this behavior with spring ?
The tonr and sparklr examples does not need to pass token to access the photos, only require login in sparklr (the provider).
For example, in facebook, to get my friends we have pass a token in url
https://graph.facebook.com/me/friends?access_token=MY_TOKEN
i f i access https://graph.facebook.com/me/friends I got "An active access token must be used to query information about the current user." in a JSON.
How can i provide this behavior with spring ?