All,
I want to verify that when a user responds to an app. request generated via the Facebook Requests Dialog, that a signed request is sent to my application as part of Facebook’s redirect to my canvas URL.
Thanks,
Wes
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes. There is always be
signed_request, but the the data it contain may differ for authorized users and users visited your app for a first time.The
signed_requestitself will not contain any data related to request. And for sure it will not contain user details for new user…You can save the response of callback passed to
FB.uiforRequests Dialogwhich contain id of request and users involved. Once user accepts request (sent by application user), you’ll getrequest_idsurl argument passed to your application canvas url no matter if user is already accepted application or he is first time visitor. So you can just match the passed request id with stored data (you should be aware that single request can be sent to many users, so this method doesn’t ensure the actual user you interact with, but all users involved in request).