I am having trouble understanding how FB determines if a user-token or an access_token is required. I am not using Facebook for authentication in anyway, and really didn't want to.
I am trying to display information from our Facebook Group to our Forum.
According to the Graph API, /group-id/feed requires these:
- A user access token, for a member of the group, with user_groups permission is required.
- An app access token can read posts it published in app and game groups that belong to it.
/group-id/events requires only:
- A user access token for a member of the group with user_groups permission.
The text is slightly off, but look to me to be conveying the same thought about "user access token".
According to FB, in place of a user access token, it is possible to combine an app's app-id and app-secret to simulate an access_token.
When doing this for my group's feed, it works great. When doing this for the events, I get an error that says:
- Code: 102
- Message: "A user access token is required to request this resource."
- Type: OAuthException
Why is the app-id|app-secret access_token not working? I really don't want to worry about any FB authentication; I just wanted to list our events on our website. Am I doing something wrong or missing the proper way to handle it?