开发者

Facebook api not working in subdirectories

开发者 https://www.devze.com 2023-04-08 04:05 出处:网络
Trying to plug in the new login api from a test script in a subdirectory of my site, and seeing that when I call getUser() I\'m getting back a Facebook user id of 0.

Trying to plug in the new login api from a test script in a subdirectory of my site, and seeing that when I call getUser() I'm getting back a Facebook user id of 0.

When I move the same script into my domain root, I get what I expect - my FB uid.

This obviously puts me at a serious dis开发者_开发技巧advantage as far as testing goes. Is it possible to use the new api from a subdirectory, and if so, what do I need to do?

0

精彩评论

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

关注公众号