facebook-application

How to show data on a facebook app canvas?

I have tried following some tutorials and I get the concept of how the apps work, basicly they are in my case a php/mysql site that loads into facebook and gives me access to the userbase instead of needing my own userbase. Here is what I am trying right now to show on the facebook application canvas page /* initialize the facebo...

FB.Connect.logoutAndRedirect is not redirecting to the specified page

Not sure whats wrong, below code logs me out of facebook but not redirecting to test2.php, after the popup disappears, the page just refreshes, no redirection //test1.php FB.init("xxxxxxxxxxxx", "xd_receiver.htm",{"reloadIfSessionStateChanged":true}); FB.Connect.logoutAndRedirect('test2.php'); can any one help? ...

How to use Facebook FBJS Feed Forms

I'm trying to call a Feed Form in my Facebook application and I'm not sure how to do so. I'm not familiar with the FBJS and its API. Specifically I need the following dialogue to show up: http://wiki.developers.facebook.com/index.php/Feed%5FForms Here's what I got for now: <script type="text/javascript"> var attachment = <?php echo jso...

Periodical Update in FBJS

Does anyone know of a method to update a certain div tag using Java and works in the Facebook canvas? If so, can you post up a code example and what dependencies I require? ...

facebook FBML issue - req-choice required as part of request-form content ??

when i try to send invitations from my site, i am getting this error "req-choice required as part of request-form content". what does it mean? please help. These are the details i gave when created application: App. Name : mysitename ConnectURL: http://www.mysite.com/ Below is the code i am using. Am i missing something? <fb:serverf...

How create a function method on FBJS that reference 'this' as HTML element?

Hi, have tried to use this my own function on FBJS: function addEvent(event,fun,pars){ pars.event=event; pars.listen=function(){ fun(this, pars);return false; }; this.addEventListener(event,pars.listen,false); } but dont work...if call: obj=document.getElementById("id_element"); obj.addEvent(....); Firebug return this error:am12345...

Publish story to news feed using facebooker [Ruby]

I followed the tutorial here http://yardoc.org/docs/mmangino-facebooker/Facebooker/User#publish_story-instance_method using @user.publish_to(@user, :message => 'hello world') Where @user is an instance of Facebooker::User. This method call causes the application to error out. Any help? ...

Facebook Publisher integration on Facebook Pages. Is authorized access possible?

I am trying to create a Facebook Publisher. This works as expected on Facebook Profiles and Message composition. In both of these cases the FB server makes a request to my own server including (amongst others) the following URL parameters: fb_sig_added=1 fb_sig_session_key= These parameters allow my web server to set/retrieve Face...

implementing facebook search in application

I need to design a search box in my facebook desktop application, with functionality same as that of facebook search. If a name say 'sam' is entered, then all users in whose name 'sam' comes should get listed. Same as the output of this sql query: select uid, name from users where name like '%sam%'. Is there any way to implement this?...

facebook application: how to put html code like 'a href' inside news feed content? (After the newest api update)

After the newest Facebook update for publishing news feed, it seems that it doesn't support html code (like a href) inside the new feed content anymore But I still see feeds with click-able link inside the content, how to do that? below are the images of the feeds that have link inside the feed content ...

Facebook Application Tab URL

I have a facebook application that can be added to fan pages as a tab. The application requires that users are authenticated in order to use it. This can be accomplished by using requirelogin=1 in a link which is visible only to users who have NOT added the application. This part works fine. However, after the user has given my applicat...

Developing for FB, can't find a good tutorial- what tutorials HELPED YOU?

Please spare me the google answers, I've been googling all weekend (and off and on previous to that) to find good tutorials and I can't find any. It seems that everything I've found on FBML is VERY outdated or SIMPLY just a helloworld (which is REALLY REALLY basic). I currently do a lot in ajax and php, but making the transition to FBM...

How Clone DOM object on FBJS?

Hi have a list generated with FBJS, now i need to 'attach' this element inside two div on the page, i tried: div1=document.getElementById('div1'); div2=document.getElementById('div2'); empty(div1); empty(div2); // 1 div1.appendChild(ul); div2.appendChild(ul); // 2 div1.appendChild(ul); ul2=ul; div2.appendChild(ul2); //3 div1.app...

Authorizing a Facebook Fan Page for Status Updates

I'm able to update the status on my PROFILE wall using this code: require_once 'facebook-platform/php/facebook.php'; $facebook = new Facebook('APP API KEY','APP SECRET KEY'); $user_id = 'MY USER ID'; $facebook->api_client->users_setStatus('This is a new status'); ...after authorizing using this address: http://facebook.com/authorize.p...

Is it possible to create a custom facebook tab?

i would like to create a custom tab with the users facebook profile. I will show the users recent posts compared the friends posts. it will include the post count, avg words per post, etc of the user and the users friends. Is this possible to do in facebook? ...

Policy file error while loading images form facebook

Hi, I making a game leaderboard on facebook. I'm not using connect but working inside the canvas. When I try to load the images from facebook it gives me the following error. SecurityError: Error #2122: Security sandbox violation: Loader.content: http://test cannot access http://profile.ak.fbcdn.net/v22941/254/15/q652310588_2173.jpg A ...

PHP: Facebook stream.publish and outdated template bundles?

Ok So I haven't tried messing with the facebook PHP API for months.. it's gross. Since template bundles are apparently now defunct, how can I publish a story into my users news feed for their friends? I've also already requested permissions. Edit: The issue seems to arise from requested permissions not being set for the user when They ar...

Flash MMO for facebook Architecture

Can someone please help in the architecture of the social multiplayer browser game with flash. I would thankful if there is detailed process for developing these games and guidance. thanks in advance ...

Is it possible to have a 'background' Facebook App?

I need a Facebook application that kind of sit in the 'background' of user operations. Once the app is installed by the user, it will keep on sending the user's status updates, new friend connections etc to another web app of mine. It will keep on getting info no matter whether the app page is open or not. My question is -- is this poss...

Facebook multi_friend_selector Invite by Email options

I've got a facebook iframe application that uses standard facebook multi_friend_selector.php page to invite friends into the application. Both invite friends and invite via email options are enabled. 1) Invite by Id. When a user select one of his friends (by id) and sends a request, a facebook request with the link to the special page o...