Requires valid signature error, facebook api

i'am using this example

http://github.com/facebook/connect-js/blob/master/examples/jquery/login.html

works great, but when I change part of the request to read my statuses, I get an exception

A valid signature is required

for example this request

select message from state where uid = myuid

+2


a source to share


1 answer


This means that you need a valid access token.

See it here: https://developers.facebook.com/docs/concepts/login/access-tokens-and-types/



You can see on this page:

In addition to the access token (access_token parameter), the response contains the number of seconds until the token expires. Once the token expires, you will need to rerun the steps above to generate new code and access_token, although if the user has already authorized your application, they will not be prompted to do so again.

0


a source







All Articles