开发者

Facebook appends #_=_ callack URL

开发者 https://www.devze.com 2023-04-03 10:06 出处:网络
After I have changed my getLoginUrl using php SDK with (array(\'redirect_uri\' => $_SERVER[\'REQUEST_URI\'],\'s开发者_Python百科cope\' => \'user_about_me\')), still I facing problem with url appending

After I have changed my getLoginUrl using php SDK with (array('redirect_uri' => $_SERVER['REQUEST_URI'],'s开发者_Python百科cope' => 'user_about_me')), still I facing problem with url appending #=.

Does anyone have answer for this problem? It happens only in Firefox and Chrome browsers.


This is to do with the session redirect behaviour. It was mentioned in the developer blog this week here: https://developers.facebook.com/blog/post/552/

The comment about it isn't very clear - I would guess they mean if there is no redirect_uri provided, then add this? Check what value you are getting in $_SERVER['REQUEST_URI']

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号