开发者

Facebook api not working in subdirectories

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜