开发者

How can I make a Facebook 'like' button for an iframe Appication?

I'm t开发者_开发知识库rying to make a like button for my iframe facebook app.

With an FBML application, clicking the like button would put "Pete likes AppName (Application)." on your wall.

For my iframe app I'm using the following FBML:

<fb:like href="http://apps.facebook.com/appname/"></fb:like>

However Facebook changes the hyperlink to the iframe's domain: http://mydomain.com/app/

Which puts the following on my wall: "Pete likes App Name on mydomain.com" and the link follows through to http://mydomain.com/app/

How can I make a like button which works the same as an FBML application?


The application's profile is what is "like-able".

i.e., this URL: http://www.facebook.com/apps/application.php?id=YOUR_APP_ID

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜