fbml

Switch from fbml to iframe problem

Hi! I've created an application for facebook using fmbl: <fb:fbml> <fb:bookmark/> </fb:fbml> And it worked :o) On base of tips from http://wiki.developers.facebook.com/index.php/Connect/Setting_Up_Your_Site I changed connection settings from fbml to iframe and added html and script tags, and downloaded xd_receiver.htm. So I have: ...

how to load fb:request-form in iframe / connect app using ajax

how to load fb:request-form in iframe / connect facebook app using ajax calls? for example social city does it http://apps.facebook.com/socialcity/ the POSTing of selected friend is also done in ajax. how can this be done? ...

fbml apps with new facebook graph / oauth api?

the new facebook graph / oauth seems to be only for iFrame / connect apps? is it possible to use the oauth system for fbml apps? ...

Embedding a swf using fbml in a facebook app

Hi, I am using FBML to embed a swf file into my facebook application, but it shows the message that movie is not loaded. The piece of code that I am using for this is: echo " < fb:swf imgstyle=\"border-width:3px; border-color:white;\" swfsrc='apsolute url of the .swf in the server where I am hosting' width='340' heigh...

Checking how many friends of a user are fans of a page

Is there a way using FQL or FBML to display how many friends a user has that are also fans of a particular Facebook Page? ...

Facebook.streamPublish does not write on wall...why?

$titleData = json_encode(array( 'gname' => $giftName, 'url' => $appCanvasUrl, )); $bodyTemplate = '<a href="{url}">One gift</a> to {actor}!'; $bodyData = json_encode(array( 'url' => $appCanvasUrl, )); $bodyGeneral = '<BR>Send the exclusive gifts to all your...

Facebook / FBML - Can I create an iFrame, using FBML, in a Tab on a Profile Page?

I want to create an iFrame within a Tab on a facebook profile. Are there any tag restrictions inside of a Tab or on a Profile Page? Example profile/tag setup: http://www.facebook.com/#!/AvonProductsInc?v=app_10442206389&amp;ref=ts ...

Way to Remove Invite Limit on FBML Multi-Friend Selector

Hi there, I tried to look through various resources before posting here, but was having a surprisingly difficult time finding an answer to my question. Sorry in advance if I overlooked it. I'm currently trying to add the FBML Multi-Friend Selector to my Facebook page. It has a limit on the number of friends you can invite at a time (...

Is user authorized, on Facebook tab

Hello all, Getting an interesting error. I've been developing and application, and viewing it on it's page. Now I'm install that app in as tab on a company page and it's saying I can't use: <fb:if-is-app-user> in the tab view? How can I show or hide part of the page if the user viewing it is an app user? Thanks in advance for the he...

Facebook FBML and frame redirect

I have, what is probably a simple flash question. I have a flash countdown clock I am using in an Iframe of a facebook app. At the end of the countdown it fires this off myFlipCountDownClock.onFinish = function() { }; And I can add getURL or whatever. My problem is I need to fire off some facebook specific code. This being This d...

FB permissions, fb tags vs. javascript

Is my understanding correct, that in FaceBook development I can request application permissions (for user data, posting to his wall etc.) in 2 ways by using some static permission-requesting fb-tags in html code or by using facebook JavaScript libraries/objects for dealing with permissions? If so, are these ways serving the same purp...

Need to create Facebook 'back button'

I'm finishing up creating a Facebook contest app. On all pages of the app is a link to our Rules and Regs. At the bottom of this page, I want to have a 'Back' button that will do just that...send the user back to whatever page they came from. However, I cannot use the simple traditional javscript:history.go(-1) method b/c FBJS doesn't...

how to display the fb:dialog button in button click event in fbml mode

Hi All, I am developing the facebook application in fbml mode. For displaying dialog boxes i am using javascript in fb:iframe mode. Instead of fb:iframe i want to user fbml dialogs in fbml mode. How can i display the dialog buttons when i click on button. Please help me regarding this. Thanks in advance, Ibrahim Khan. ...

FBML + jquery Validation + Rails

Hi all, In my local machine i have a scaffold that uses Jquery Validation plugin for the field's validation. Now i want to add that to a fbml facebook application, but i'm haven't been able to load the jquery javascript and the jquery Validation plugin into the app, does anybody now how to do that? or maybe someone could suggest me a ...

Facebook Graph Throwing Error on Server, Fine on localhost

I'm using the new facebook graph API and getting an odd error when I push to a web server. My Code is pretty simple with fbmain.php calling facebook.php <?php include_once "fbmain.php"; $ab = $facebook->api('/cocacola/feed'); echo ($ab['data']['0']['message']); When I run this locally, it works great without any errors. When I ru...

FBML bug with fb:comments inside a fb:visible-to-connection

Hi, I'm having problems putting a fb:comments tag inside a fb:visible-to-connection tag. It seems the comment box cannot fully load. Here is my code example : <fb:fbml version="1.1"> <fb:visible-to-connection> <fb:comments xid="test" canpost="true" candelete="true" numposts="15" showform="true"></fb:comments> </fb:visible-to-co...

Fb:Comments in FB:Dialog Question

Hello, I am currently experimenting having a FBML comment box within a FBML popup dialogbox. This is done within a FBML Profile Tab application. The code is something like this: <fb:dialog id="video_1" width="800" height="800"> <fb:dialog-title>Video 1</fb:dialog-title> <fb:dialog-content> <div style="overflow:auto;h...

FBML: Toggle visbility of Facebook "Like" button

Is there a way to accomplish these 2 simple things: Hide the "Like" button when the user opted to "Like" it. On page load, check if the user "Like"s the page. If TRUE, hide the "Like" button. If FALSE, show it. Thanks in advanced. ...

how to use Facebook.showPermissionDialog(‘publish_stream,read_stream’) in asp.net application for the facebook pages

Hi All, I am using Facebook.showPermissionDialog("publish_stream,read_stream"). It is displaying dialog in pageload. In facebook wikipage they are showing ex: Facebook.showPermissionDialog('publish_stream,read_stream', ondone, enableProfileSelector, [1234,2345]); Can any one explain me here : what is - ondone, enableProfileSelector, [1...

Using FBML in a ruby sinatra app

Hi, I'm building an application in ruby using the sinatra framework and am having trouble with rendering some fbml elements. I'm currently trying to render an fb:multi-friend-selector so the user can select which friends they want to invite. However, when I write the following in my code: <fb:fbml> <fb:request-form action="/invit...