• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Android Facebook Graph request error

Hey;
i am trying to get Facebook friends list but this error comes up . Can't understand what access token is required. I already have permission for user_friends, public_profile, publish_actions,
i'm Successfully logged in and able to post through game but can't get Friends score .

The code once worked fine (around 4 months earlier )but now this errors come up.
Thanks;
 
C

CaffeineJunky

Guest
It sounds like you need an access token to request this resource.

I'm not quite familiar on how GameMaker's API is/should be handling this (if at all), but typically you would have to get the access token from an authorization server. Normally this involves doing a POST request to a token-providing route with the proper parameters, and the response of that request should contain the access token. See OAuth2 for more information.
 
facebook_accesstoken() gives an access token but I can't get the data.. Anyone here used access token or created highscore table successfully!
 
Top