开发者

How to integrate fbml with html and php?

I want to make a form that require some jquery, javascript and a few cs开发者_Go百科s stylesheet. And I also want to add an autocomplete of fb friend list, something like fbml fb:friend-selector

After a long search, I found that fbml cannot run if I have html, body, and style tag.. Is it right? Or I can do that with another way? thanks


My dear who said you that fbml cannot run if you are having html etc.? you just need to add xmlns:fb="http://www.facebook.com/2008/fbml" in your <html> tag and then you can use fbml and all facebook related stuff in your web page despite of the fact that whatever you are having on that page. After inserting that your <html> tag should look like

 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en">

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜