facebook

How do i Set users status(through facebook php api) in Facebook from my application ?

Hello all, I have used the following code: if($facebook->api_client->Users_hasAppPermission("status_update")) { $facebook->api_client->Users_setStatus("Hi there"); } but it does not running successfully. So help me and take me out of this problem....pls pls ...

Sample code for facebook application in PHP

I need resources to build my first facebook application. I am only able to find only 'hello world' type of applications. Are there complete app source code which includes publishing the output to friend's news feed? ...

python facebook api in linux?

How do i install package and libraries of facebook api? When i use import facebook, there's error? I see only svn checkouts, some files are empty, how do i download and get them working? ...

include facebook profile feed in website

Hi guys I'm trying to access my facebook profile feed and display the status updates on a website. is there any easy way to do this? I'd like to bypass the authorization process if possible. Thanks ...

Using XFBML login button asks user to authenticate twice

I am simply trying to setup Facebook Connect to allow the choice on my already established site to register with the registration form, or to register with Facebook Connect (this really should be easier than it is, the outdated docs are driving me insane). When the user clicks the button, it opens the popup and asks to allow the things ...

What is a replacement for FB.ensureInit() now?

I am loading fb api in asynchronous way: <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({appId: 'your app id', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//con...

How to post an album to a fan page

I admin a fan page. One of the fans created a photo album on his own page. I want to post it on the fan page, but in the album all have is "post the album to profile", and if I do it I get it in my own profile, not on the fan page. Any idea how to post the album to the fan page ? ...

How to do Google Analytics for ajax call in Facebook?

I have a FBML game and need to track all ajax calls. At the bottom of the page, I have this: and in the javascript functions, I put this: Facebook.urchinTracker("/ajaxcallname/"); However, it doesn't work.. and what I found out is that the utmac (the google account id) is empty!!! _uacct is empty! even I set it in the FBML, i...

Facebook Graph API will not give me picture data.

Using PHP 5.2.11 and the new facebook graph code... If I call $facebook->api("/me"); I get a proper response: array 'id' => string '10700210' (length=8) 'name' => string 'Brandon Renfrow' (length=19) 'first_name' => string 'Brandon' (length=7) 'middle_name' => string '✫' (length=3) 'last_name' => string 'Renfrow' (length=7...

Saving highscores coupled to a facebook account

I want to offer a "highscore" list for friends in my app (at this point iPhone/iPad), so that if the user connected to facebook, he will get a list with his/her friends scores. Connecting is easy, retrieving friends is easy, but figuring out the best way to store the scores is not. As it seems I need to the store the scores on my own s...

Facebook REST api Application Secret

I'm trying to retrieve a list of my friends' birthdays using the following code. I'm using Facebook's FQL method using the old REST API. <?php $appapikey = '<app api key>'; $appsecret = '<app secret>'; $token = 'access_token=<token>'; $fql = "SELECT uid, first_name, last_name, birthday, sex, proxied_email FROM standard_user_in...

How to send Facebook message from Flash?

So I can get online friends without problems into my Flash, but how can I send them a message to Facebook chat? Is there any API for that? I found some applications that are doing this. Can anybody point me somwehere? ...

Checking online users with Facebook Javascript SDK

Hi, I'm trying to build some kind of a social game in facebook, where I need that every user that has approved my APP is able to receive notifications from me. When the user approves my App, I save his UID in the DB for future reference. At some later time, I want to make it possible for other users find partners for a game - so I nee...

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's pipelining system? How does it work?

One of the facebook developers recently posted an article describing their new approach on handling HTTP requests called BigPipe: http://www.facebook.com/notes/facebook-engineering/bigpipe-pipelining-web-pages-for-high-performance/389414033919 It seems to have obvious performance advantages over the conventional way of doing it. So, is ...

Getting error while connecting to facebook

I have downloaded php-sdk for using facebook in php. I also created facebook application in the facebook web page in order to get API key and secret key. When I run example.php and try to connect to facebook it shows me the following error: Configuration errors: To fix this error, please set your Connect URL in the application settings...

Ajax twice + facebook login/logout

Hi, I have a very specific problem. The site I'm developing loads the FB connect button by ajax (it loads the box that includes FBC button). And when user logs in it loads instead of it the box with FB logout link. The problem is that FB requires to call FB.init() at the end of the body (when all the FB stuff is already on the page) an...

Facebook connect, email address?

When you add facebook connect to allow facebook users to signin to your site, can you retireve the users name and email addresss? ...

Customise the facebook login and logout button

I have this: <fb:login-button autologoutlink="true"></fb:login-button> How do I customize the button by it image, size and etc?? Thanks in advance. ...

Facebook, get friendlist

Hi, I have set up my app to connect to the facebook, Now I want to display the friendlist, how am i proceed once I have connected the app to the facebook? ...