Closed mateo-kozomara closed 10 years ago
to answer my own question, the problem was with the permissions. Facebook first has to approve your Publish flags
Hi @mateo-kozomara, I got an issue when I tried AppsRequests. The dialog won't appeared. And I have some permission that might be required, such as : "Friend list, publish, public_profile, email, etc" So, could you tell me how to make a apprequests in a proper way?
Thank you,
Best Regards
I am having trouble sending invitations to my Facebook app with the dialog method.
This is how i am trying to send the invitation:
_facebook.dialog('apprequests',{"title":"AppTitle","message":"Some message"}, onInviteDialogFinished, true);
before that i got the permissions like this:
First i got the read permissions: _facebook.openSessionWithReadPermissions([], onSessionOpenResult); then publish permissions: _facebook.openSessionWithPublishPermissions(["publish_actions","read_friendlists","read_stream"], onOpenedPublishSessionAndShare);
Sharing with the dialog method works fine, login works fine, but inviting doesn't for some reason.
The dialog DOES get displayed, and i am able to select friends and send an invitation, but the invitation doesn't appear in any of my friends feed.