A simple question,
Can i parse the facebook signed_request inside a drupal module? In order to get user’s information? without authentication of any kind?
thanks!
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.
Of course you can parse it (once you’ve got hold of it) – but it won’t give you much info regarding the user besides their Facebook uid.
Once the user is connected to your app, you can query some of their data making a Graph API call for /me – no extra permissions besides basic permissions required.
(For parsing it, see Facebook docs on signed_request; or just embed the PHP SDK, which already offers a method to do it.)