views:

2063

answers:

7

I've been looking at this for ages now and I cant find anything on the net that provides a solution. When trying to use the tag...

...this is embedded on a tab canvas. The 'Like' button appears when using the app locally, however, it doesn't appear when used on the facebook site. I get this error:-

FBML Error (line 264): unknown tag "fb:like"

I have FBML enabled in the settings. I've also tried using the iframe alternative with no luck.

Any ideas?

PS.. I'm using CakePHP

A: 

I have the same problem and I'm not found a solution at that day. Have you found a solution?

Stève
+1  A: 

doesn't seem to be available inside Canvas. According to Facebook's document, there is a simple version and a version for XFBML but I can't find the document pointing to that one either. :(

The new documents is a mess.

David Li
A: 

This is the official document about XFBML like button

http://developers.facebook.com/docs/reference/plugins/like

Gabriel Cuesta
A: 

If you're starting from scratch, you should build a IFrame based Canvas application instead of a FBML based one. IFrame Canvas applications can run normal JavaScript, including the JS SDK which supports the <fb:like> tag, for example: http://apps.facebook.com/fbrelll/xfbml/fb:like.

daaku
A: 

daaku, I don't understand - that app seems to be using an iframe wrapped in an fb:like tag?

Aimee
A: 

look at this ,using fb:iframe,it works well~~have a try!

gxx

related questions