?
Solved

Facebook app permissions

Posted on 2012-09-04
7
Medium Priority
?
1,056 Views
Last Modified: 2012-09-07
Hi guys,

I have created an app developer.facebook.com.

I have set my page tab to my website to draw in my iframe.

I am not trying to get the users facebook id, I am using the following

if (!empty($_REQUEST['signed_request'])) {
	 
	
  $signedRequest = $_REQUEST['signed_request'];
  list($sig, $payload) = explode('.', $signedRequest, 2);
  $data = json_decode(base64_decode(strtr($payload, '-_', '+/')), true);
  print_r( $data); 
}

Open in new window


this does not contain the users id as from what I read they need to authorise  the app? how do I go about doing this. NOTE:  I am using a fangate page hence the signed_request method

John
0
Comment
Question by:john_yourspace
  • 3
  • 2
5 Comments
 

Author Comment

by:john_yourspace
ID: 38371580
hi  techChallenger1,

Just checked that out and dont see where it is asking for permissions?

John
0
 

Author Comment

by:john_yourspace
ID: 38371589
My main question still stands on how to get the users facebook id
0
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 2000 total points
ID: 38373721
0
 

Author Closing Comment

by:john_yourspace
ID: 38375804
worked perfect thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to count occurrences of each item in an array.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question