fbml

Is it possible to use Javascript or PHP in static FBML?

Is there some way to embed Javascript or php code in static FBML on facebook? ...

facebook friend selector - display photo along with name

Hey guys I've been looking at the various fbml tags like friend-selector, multi-friend-input and friend-input. If I'm not wrong only multi-friend-input displays the profile picture of the friends. What I'm looking for is the friend selector with photo - instead of just the names showing up - the name and the photo should show up. When ...

Get Account User Id FBML

Hey, I'm new to the facebook app making and I'm just wondering how I can get the user who enabled the app (the one using it)'s user id. Thanks ...

Get Random Friend FBML

Hey, say you have an array of friends that you've retrieved, how can you pick 1 random friend. Thanks ...

Problem Getting mutual friends of logged in facebook account and other account FBML

Hey, Well at the current moment I'm attempting to get the mutual friends between two users, and then pick a random one of those. It then gets the name of the random mutual friend, but it's not working for some reason. here's what I have (where $lg_userid is the logged in users id, and $target_id is the friend, I then get the mutual fri...

Filter Friends that are Online FBML

Hi Ok, I have this array of a users friends, and I'm just wondering how I can filter out the ones that are offline so that I only have the online ones in the array :D Thanks ...

Adding Google analytics tracking code within fb:share-button

Does anyone know how I can add Google analytics tracking code within the FBML of a share button? Code is as follows: <fb:share-button class="meta"> <meta name="title" content="TITLE"> <meta name="description" content="DESCRIPTION"> <link rel="img_src" href="someimage.gif" /> <link rel="target_url" href="http://www.someurl.co...

Facebooker new permission dialog

Facebook has recently changed its data permission policy to allow developers to ask multiple permission on one screen. I was wondering if this is supported at all for a canvas app running in Facebook with Facebooker. I found this solution for Facebook Connect apps : http://stackoverflow.com/questions/2526940/facebooker-extended-permiss...

fb:serverfbml won't render on Opera and IE

Hi there, I asked the same question in Facebook developer forum, but for some reasons I want to repost it here. I hope that's okay. I have the following fb:serverfbml snippet. <fb:serverfbml id="invite_friends_form" style="width: 100%"> <script type="text/fbml"> <fb:fbml><p>Testing FBML rendering</p></fb:fbml> </script> </fb:s...

Posting to my wall instead of others wall FBML Facebook API

Hi, for some reason my facebook app is posting to the wall of the user who allowed the app, and not their friends like it's suppose to. I'm just using a $facebook->api_client->stream_publish($message, $target_id); Anyone got any ideas? ...

facebook iframe

How to add iframe in facebook , I tried this snippet but not working... <a onClick="outside_location.setInnerFBML(link_1);" style="cursor: pointer;">My Form</a> <div id="outside_location"></div> <fb:js-string var="link_1"> <fb:iframe height="514" allowTransparency="true" frameborder="0" scrolling="no" style="width:100...

Facebook Like Button - how to disable Comment pop up?

I'd like to disable the Comment box that pops up when a user clicks the Facebook (fbml) Like button I've placed on my site. Is this possible to do? I can't find any details in the documentation. ...

Howto use xfbml on facebook pages?

I've created a facebook page and added an fbml box to it. But fbml seems to be very limited, in many cases, I would like to use xfbml instead (or even better: both together). Is it possible to use xfbml in Facebook pages? ...

Getting a Visitor's Facebook Info Without "App Permission" -- How Does Yelp Do It?

Okay. I've spent hours poring over the scattered FB documentation concerning xFBML, Open Graph, etc. -- most of it deprecated it seems. Anyways, I'm trying to get a visitor's Facebook userid (or name or pic or anything) when they visit my site (assuming they are logged into FB already) without them having to "connect" and give my websit...

Showing FBML using new Facebook js lib

I'm using the new facebook js lib for a facebook connect site. (The one that uses FB.getLoginStatus instead of FB.Connect.get_status ) And suddenly all of my fbml has dissapeared... The documentation says nothing of the new js lib, only the old one. my html tag has the attributes ' xmlns="http://www.w3.org/1999/xhtml"xmlns:fb="http:...

Facebook Tab not loading

so i created a facebook app (fbml). canvas url = http://mydomain.com/fb/canvas/ tab url = tab.html i authenticated my app with my profile and added the tab to my profile. but the tab keeps loading and loading. sometimes i also get redirected to my profile page after a short tab loading time trying to access my canvas page http://a...

redirect user to login page without using fbml on facebook page

Hi, so i'm creating a login_url using php framework and getLoginUrl(). if my facebook app is setted as an FBML page, something like this works fine echo '<fb:redirect url="'.$login_url.'" />'; but i need my facebook application configured as an IFRAME page, so it will not be rendered as FBML. whats the best way to redirect my user ...

What should I know about working with FBML in Facebook?

I've been tasked to develop a fairly simple reservation console for a hotel. It features two <form>s which have corresponding tabs, the active tab applies to the default form and the inactive tab applies to the hidden form. The tabs are clickable and would enable/disable their respective forms. So far what I am planning is having embedd...

change color schema of facebook fb:login-button

I am using facebook social plugin fb:login (new version) and here is my code. <fb:login-button show-faces="true" perms="email,user_birthday,status_update,publish_stream"></fb:login-button> I have a dark back ground in my page, so when user is logged on I can’t see user name as text is dark. So how do i set text color to be white? Tha...

Facebook javascript/ fbconnect ifuserconnected causing problems

Hey, well I'm reading the fb connect tutorial here http://wiki.developers.facebook.com/index.php/Facebook_Connect_Tutorial1 The problem I'm having is near the end of the tutorial, it's saying do do this <script type="text/javascript"> FB.init("apikey","xd_receiver.htm", {"ifUserConnected" : update_fbuser}); </script> as oppose t...