Facebook登录集成心不是让我的用户ID

问题描述:

我按照这个教程来整合Facebook的:http://25labs.com/tutorial-integrate-facebook-connect-to-your-website-using-php-sdk-v-3-x-x-which-uses-graph-api/Facebook登录集成心不是让我的用户ID

的问题是,当我点击登录链接,并允许应用,当我的print_r的$ _SESSION我得到

Array ([fb_**MY_APP_ID**_state] => 22decb94e83299b9c31113623621eeb2 [userID] =>) 

为什么它没有得到我的用户ID?!

你可以在这里看到孔脚本:

I cant make the Facebook PHP-SDK 3.x register/login user integration to work

你可以尝试http://thinkdiff.net/facebook/php-sdk-3-0-graph-api-base-facebook-connect-tutorial/

这是一个最新的&工作教程,最新的PHP SDK

+0

,你也可以看看在这个页面上给出的官方文档通过Facebook https://github.com/facebook/php-sdk – Peeyush 2012-04-22 17:47:01

+0

我复制所有从教程,再次没有运气......也很烦人,红方向网址是添加一个?状态= VeryLongHash ...当我打印$ _SESSION我只得到状态会话和用户ID是空的 – Ben 2012-04-23 08:44:44