문제

I'm trying 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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top