Ben FB dokümanlar ile devam ettik ama ben tamamen şimdi kayıp olduğumu düşünüyorum. Benim görev oldukça basittir: Bir "import" bağlantısını, kullanıcı tıklar ve o siteyi, kullanıcı geri benim siteye yönlendirilir yetkisi FB açılan aldığı olması gerekiyor, ben kullanıcının FB profiline ulaşmak ve bazı verileri almak. Ayrıca: PHP profil erişmek ve almak gerekir.
The first part goes well. I created mysite.com?page=import link which opens in popup and then redirects to https://graph.facebook.com/oauth/authorize?... User then allows access and the popup is redirected back to mysite.com?...#access_token=...&expires_in=4031 Then I am going to close the popup and instead refresh the parent window that opened this popup by redirecting it to something like this mysite.com?page=register&access_token=...&expires_in=4031 Then I was going to use their PHP SDK hoping that it can take this access token and allow me to get user's data. However I have no luck so far. I've tried lots of things and went through facebook.php but can't see a solution. Please let me know how to do this: authorize user in a popup and then gather the profile data in php.