开发者

how to get the current URL in fbjs?

I want to get the current URL in fbjs. I have used this

window.location
开发者_如何学C

However, this doesnt work.

Can anyone please help me ? Thanks.

- ahsan


well, heres how I solved it :

Using PHP, we can get the page id and the app id.

Using FQL, we can get the page title.

Using these 3 values we can recreate the current URL (I am working on a fanpage tab)

Hope this helps :)

- ahsan

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜