0

The following FQL query is returning empty. There's no reason for it not to, as its quite clearly documented as possible in the FQL Documentation itself.

SELECT eid, uid, rsvp_status FROM event_member WHERE (uid = me() OR uid IN(SELECT uid2 FROM friend WHERE uid1 = me())) LIMIT 10

This should return the first 10 rows of any events that I, or my friends have been invited to.

If I include a condition for a specific event's ID, then I get the result.

(I am using FB.Data.query() to perform the query, in conjunction with query.wait.)

Can anyone else replicate this issue, or know what I'm doing wrong?

1 Answer 1

1

hi this because of the fact that you have not taken the user_events and friends_events You can take permission like this

<fb:login-button perms="friends_events,user_events" autologoutlink="true"></fb:login-button>

For Further You can read Manage Permissions.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you, this definitely got me onto the next stage of debugging. It's still returning empty, but it did request the correct permissions. Thank you

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.