facebook

Best practices with Facebook Connect logout?

Hi folks, I'm building a web app with Django using Facebook authentication. Now I have encountered a problem with the logout. Do developers usually hide the default logout link? It is quite tricky coming up with the logic of implementing a logout while a user is connected to a facebook acount, which is still logged in. Any ideas?...

How to get FB.api('/me/feed', 'post', ... to work?

I've tried to use FB.api to post something to my feed for hours now. I can't get it to work for me. I gave the permissions to the app. I can post to my feed with the PHP SDK but I have to use JavaScript. <button onclick="doPost()">Post to Stream</button> <script> window.doPost = function() { FB.api( '/me/feed', 'post', { ...

Update user status for major social networks from Blackberry

My application is a Radio app which plays different radio stations using live streaming. I want to implement a social networking feature. I want to let users send their current status using different social networking sites. I have already implemented this in my iPhone application. facebook,twitter,myspace,linkedin,orkut. Can anyone...

Encoding problem using facebook.net sdk

Hi, I'm using the facebook.net sdk to send articles to a facebook fanpage. That works fine except for some swedish encoding problems. The article heading in facebook looks like this: "H\u00e5ret avsl\u00f6jar om du stressar" but should look like: "Håret avslöjar om du stressar". What should I do to fix this? The code: FacebookApp ap...

FB.ui stream.publish - Formatting the description parameter

I have a Facebook application that I've now put live, but I need to make an amendment, but I can't find anything to suggest that it's possible or not. I am basically looking at formatting the description to include line breaks e.g. description: ( 'Hey look at my StackOverflow question\r\n' + 'Great isn\'t it?' ) Is this poss...

How to get permission ?

I have create a simple facebook application. Now I want to get permission for read_stream. I have read a lot of documentation but I don't understand. Could you tell me how to get this permission with PHP or javascript ? Edit: I have used this source code ( you can se it working here ) but doesn't work because I get only basic permiss...

FB-Root Is Null, but only Sometimes in Firefox and IE

I have a Facebook Login Button on a login.php page on my website, and when its there it works like it should. But for some reason when I have a click on a link to this login.php the button doesn't appear. When I refresh the page, the button pops up. When I manually go to login.php the button appears every time. This seems to only happen...

how to track traffic source for a Facebook iframe application

I have a facebook iframe application - let's call it apps.facebook.com/my-app. We currently use Google Analytics for our tracking, and I correctly have Google Analytics installed on my application (that is included via iframe to the FB app) & it is tracking any use of the application mentioned above. However, I would like to find out w...

Get Facebook Page Wall Stream

Hello, im looking for something quite simple, i thought, but didn't find any solution on the web. I want to get the posts (only from the band, not others) from a FB Page Wall (its a Band, so no private profile) and publish it on MY own site. I hoped to get the Posts as XML or JSON and then parse them. So i wanted to use FB as a news Sy...

Is it possible to create a desktop app using facebook oauth 2.0 authentication without requiring a browser interaction?

Hi, Is it possible to have a client app which can authenticate using Facebook but without requiring browser(I mean no embedded browser in the code)?? User imputs the username/pwd and allow access to app using the client app only. Any Suggestions will be of great help. Thanks, Tara Singh Edit: I have created app in Python which requi...

How to know if a user has a facebook account ?

I need to know if the users of my website has logged to facebook in the past 30 days. Can I know this through facebook cookies or in another way ? ...

facebook like button larger size

Hi, is there anyway to increase the size of the fb like plugin? thanks. ...

Facebook Iframe Issue

Hi, I am working on an iframe based Facebook applicaton. I am able to use FB.Canvas.setAutoResize(); to let the iframe "stretch" the page so there's no scroll bar for the iframe. The page may be 2-3 page-length in height. I can scroll down the page using the windows scroll bar. The issue is when I am at the bottom of the page and I c...

How to get List of users who like an application from facebook

Hi, I need to scrap the email and phone numbers of all the users who 'like' a facebook application. for example : http://www.facebook.com/home.php?#!/apps/application.php?id=2438981128 The above application contains over 1000 users who like the application. Is there a Facebook API to accomplish this ? Please help me on this. Thanks,...

Removing old Facebook Javascript library and use the new one will cause some code to break, and how to use old and new API at the same time?

To use both the Facebook REST API and Graph API, somebody recommended not using http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php but use the new code only, which uses connect.facebook.net/en_US/all.js But then the old code which calls FB.XFBML.Host.addElement will stop working. Any idea? related t...

what is the validity of the facebook javascript sdk access token that is stored in the cookie

If I use the facebook javascript and xfbml to get a user to login to my app and grant me offline permissions. Can I then at the server read the cookie set by facebook, get the access token store it in a db and use it over time or is this access token valid only during the active session "even though I've requested and obtained us...

How to get the best performance from facebook canvas authentication

Hi Facebook document that you need to do the following for canvas login Include facebook library Instantiate class with App Id and secret Check that the user has a valid session If they do check also that you can get there user object by doing an api call /me If they dont then process the login redirect All this especially the Fac...

What's the best open source Rails Facebooker project to learn from?

Hi, I'm creating social network app that integrates with Facebook connect with full facebook integration. I'm looking for an open source Facebooker or facebooker2 project that i can look at the code and learn from. Thanks ...

How to use Facebook OAuth 2.0 authentication like Zynga and other use it?

I want to display the "Request for Permission" box directly when the user enters http://apps.facebook.com/myfancyapp. The Facebook Authentication documentation is pretty clear on how the URL have to look like https://graph.facebook.com/oauth/authorize?client_id=[APPID]&amp;redirect_uri=http://www.myfancyapp.com/&amp;scope=user_photos,us...

Facebook PHP SDK Curl over proxy

Im trying to setup php sdk. SDK is using Curl to make request. But i have to do this by proxy. My OPTS: public static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 60, CURLOPT_USERAGENT => 'facebook-php-2.0', CURLOPT_PROXYPORT => '8080', C...