fbml

What are the Facebook app FBML 'profile.setFBML' arguments?

Okay so I've read the documenation: http://wiki.developers.facebook.com/index.php/Profile.setFBML And I'm not quite sure what the arguments being passed are. I'm looking at the the listed example request: $facebook->api_client->profile_setFBML(NULL, 128009, 'profile', NULL, 'mobile_profile', 'profile_main'); and thinking, where are th...

Facebook default profile box fbml

Updated an application on Facebook, and was trying to provide a new image to show up as a box on a user's profile when they add it. I added fbml to the default fbml box on the User Profile tab for the app, but it's still showing the old fbml from the previous app. googling tells me that this is probably a 'feature' of the facebook cach...

Is there a way to access an iframe's window object from the canvas in FBJS? (facebook)

From the facebook canvas, I need to be able to access an iframe window. Normally you could do this with window.frames, but FJBS doesn't seem to allow access to the window object. Has anyone figured out how to access window objects? ...

How to write a custom MVC ActionFilterAttribute that redirects a facebook application

I need an attribute that handles Authorization for my controllers. This is for a facebook application and there are a few hurdles surrounding the problem. What I really need is the equivalent to a server.transfer but of course that is not an option in ASP MVC. A redirect will not work because of the way facebook consumes the application...

How can I change the way MVC renders an action link dynamically?

I need to change the way MVC is rendering action links(and form's and url's, etc) based on a configuration setting. I am writing a facebook application using MS MVC and my action links need to render link so: <a href="/MyFBApplication/Home/Index/">home</a> clicking the above link would browse to: http://apps.facebook.com/MyFBApplicati...

An FBML skeleton/sandbox page?

Does anyone know where I could find a decent skeleton page or example for creating an all-FBML Facebook app? I've looked all over the official wiki and done a bunch of searches, but I can't find anything reliable. Most of the examples in the wiki are either outdated, broken or oversimplistic. I can do 'Hello World' - now I need the re...

encode JSON in FBJS

Hi, I'm trying to encode a JS object into a JSON string (to read into a SWF as a FlashVar) but the encoders all seem to error out due to facebook prefixing the names of all JS objects with the app ID. I am not a very good JS debugger but the errors are telling me objects are not defined. ...

Need to display friends list from facebook on to my app ? Need help in FBML

hi, After authenticating the user i need to get the users friends list I got the user name and photo by below code <'fb:profile-pic uid='loggedinuser' facebook-logo='true'><'fb:profile-pic> "Welcome, <'fb:name uid='loggedinuser' useyou='false'><'/fb:name>. I need to display friends list here ,Please suggests how to do this with uid...

Problem with facebook friends_get function

The snippet below is supposed to get a friends list from a user's Facebook profile into my app: <script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"&gt; </script> <script type="text/javascript"> FB_RequireFeatures( ["XFBML"], function() { FB.Facebook.init("xx...

Facebook App maintenance considerations

If I write a Facebook App for a client (I'd probably be the "developer" working with a marketing agency, with one or more Facebook apps as market of a social media strategy), it's not just a fire and forget project, is it? From what I've read so far, the Facebook API is still in flux, and fixes and changes that Facebook makes can break ...

Best IDE for Facebook apps (FMBL and FBJS support)

I have a reasonable workflow for developing an iFrame app for Facebook. It's reasonable because I can test the app on localhost with a local Apache in any one of a myriad of IDEs that support HTML, CSS, and JavaScript (Visual Web Developer, NetBeans, Komodo, Aptana). But what if I want to develop a non-iFrame app with FBML? Is there an ...

What is the API for facebook 'profile stream' aka Wall posts?

Is there an API call, and if so, which call to get the 'posts to my wall from myself and others' on Facebook? It seems like it could be filtered out of the facebook stream API, but it's not clear how that works to me. This link seems to imply it's possible: http://developers.facebook.com/news.php?blog=1&amp;story=225 Thanks! ...

Facebook notifications.sendEmail - Insufficient permissions.

Hello when I try to send an E-Mail over Facebook with notifications.sendEmail i get the error Insufficient permissions - Code 200. Both Users the Sender and the (not working) Receiver have installed my Facebook Application with extended permissions email publish_stream really both sender and receiver. normally it is not necessar...

how to add mp3 player to facebook members from my facebook application

hi i making an application that read an mp3 file , and i want the user to be able to share the mp3 player on his profil and be shown like this see this image plz : http://img148.imageshack.us/img148/604/fbml.jpg and not like the normal share button thanks in advance ...

Facebook notifications fb:name as a title attribute of another tag

Hi all, I'm just wondering if it's possible to get the info from an 'fb:name' tag into the title of an 'a' tag in a Facebook notification. Like so: <a href="#" title="<fb:name uid='12345' linked='false' />, <fb:name uid='12346' linked='false' />">2 friends</a> just joined this application. When it's one friend only there's no proble...

Loading Facebook fb:profile-pic via AJAX in Facebook Connect site

After a page loads, I'm making an AJAX request to pull down an HTML chunk that contains tags representing a Facebook user profile picture. I append the result to a point in the DOM but the logos don't load, instead all I see is the default silhouette. Here's simply how I'm loading the HTML chunk with jQuery $.ajax({ url: "/faceboo...

Variable interpolation in fb:req-choice url

For my invitation feature of my Facebook Connect app I need to be able to tell which invitation a user responds to. I have decided to rely on the Facebook UID for that. How can I include that ID in the url that Facebook generates for fb:req-choice? <fb:request-form action="#{@post_url}" method="POST" invi...

Multi-friend-input not working in Facebook dialog

I'm trying to get the following to work, but I've had no success: <fb:fbml> <fb:dialog id="friends_wallpost_dialog" cancel_button=1> <fb:dialog-title>Post to your friends Wall</fb:dialog-title> <fb:dialog-content> <form id="friends_wallpost_form" promptpermission="publish_stream"> Select friends: <fb:multi-friend-inp...

Jquery parsing html unexpectedly and wrongly

So I have a non-jquery solution to this problem, but I would rather use jquery if there is a way, and also I am very curious as to why this is happening. What is going on is I have a facebook iframe application, and I am using facebox to dynamically load a some xfbml in an on page pop-up. Now the xfbml I have loading happens to be th...

How to use sms.send and sms.Cansend to send sms from Facebook application

I am developing an ASP application for Facebook. In that I want to send SMS for mobile users who has registered their phone numbers with Facebook. Is there anyone knows how to use sms.send and sms.Cansend methods in ASP or C#? I am able to give the permission to enter the user his/her phone number in my application. I want to send sms to...