I getting a link to a friends profile page using the Facebook JavaScript API. I now am trying to add it to a iframe in a jQuery UI dialog. I have:
$('<iframe src="https://www.facebook.com/profile.php?id=505818552"><p></p></iframe>').dialog();
However this displays a Facebook logo with a ‘go to facebook’ link in the jQuery dialog. I tried using load(url) before dialog() but it didn’t work because of cross-domains.
I was wondering if Facebook disables this kind of thing?
Is there a way of getting it to open in a jQuery dialog?
We do not allow this. Instead, please create a Facebook App and get the user 505818552 to authorize your App.
Then you will be able to pull that user’s friends list by querying
https://graph.facebook.com/505818552/friends?access_token=USER_ACCESS_TOKEN