0

I was able to fetch facebook events through my code until couple of days back and it used to return me proper JSON data with all the requested fields.

Suddenly i am trying to do it today again and i get only id value and nothing else. Any idea what went wrong.

http://graph.facebook.com/userid?limit=20&fields=events.fields(description,end_time,location,name,ticket_uri,venue)&access_token=access_token

is the request url format i am using.

1 Answer 1

1

You must use https:// when passing an access token.

Possibly, your access token don't let you fetch those details since you have not authorized your app to fetch user_events. You can check the access token here.

So, you have to check whether the user have authorized your app for this action or not before making this query. You can also fetch the permissions that user has granted at any time using-

/me/permissions
2
  • Tried https as well, but that doesn't seem to make any difference. Commented Sep 4, 2013 at 18:52
  • Updated the answer pls check Commented Sep 4, 2013 at 19:07

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.