Is it possible to post FBML (a way to use HTML-like content) data through Graph API?

785 Views Asked by At

Any way to join FBML and Graph API to post HTML to a FB page?
FB Iframe's based solutions are welcome too.


EDIT 24 hrs after: After play with the Page Tab functionality I have found that it is the best way to embed custom content (HTML/CSS/javascript) inside FB pages.

Basically are iframes. In the Page tab settings you must enter the URL to embed. That's all! You can use Signed Request to get the id's page and something called app_data. With that you can dynamically manage your embedded content!!!

Thanks to DMCS to guide me to it.

2

There are 2 best solutions below

3
On BEST ANSWER

Yes, while the FBML is being deprecated, there is another way to accomplish posting something to a page.

You can see an example here of what is called a page tab application. It is an app specifically designed to be used on a Facebook page. It becomes a tab (can even be set to the default of what a visitor sees).

Here's an example: http://www.facebook.com/GoDaddy?sk=app_233280480043288

You can see that the content is HTML and you have full control over that HTML since it lives on your server. This also demonstrates how a fan-gate operates.

11
On

https://developers.facebook.com/docs/reference/fbml/

We are deprecating FBML. On Jan 1, 2012: FBML will no longer be supported on Platform. June 1, 2012: FBML apps will no longer work. All FBML endpoints are removed. If you are building a new application on Facebook.com, please implement your application using HTML, JavaScript and CSS. You can use our JavaScript SDK and Social Plugins to embedded many of the same social features available in FBML.