facebook-connect

sample of Facebook Connect Login & friend retrieval using Asp.Net MVC

Is there any complete sample for implementing Facebook connect login and retrieval of friend data using Asp.Net MVC2 . Should open graph APIs be used now? ...

Facebooker Gem Session Key Expired

My Facebook Connect Rails application worked earlier today, but seems to have stopped getting the Facebook sessions properly. I'm using the Facebooker gem to handle the interaction with Facebook. All of a sudden, my application started throwing this exception, both while I was logged in to my Facebook account and while I was logged out ...

How to share an instance across several php files a-la-Wordpress?

Greetings Everyone, I'm currently using Wordpress as my CMS and leveraging Facebook's Graph API for the user account/registration "stuff". My question is how do I use Facebook's PHP SDK (found here: http://github.com/facebook/php-sdk/), when Wordpress compiles several php files to output a single webpage? In other words, Wordpress' te...

fbconnect authentication window don't closed

Hi, I have created an application which uses fbconnect. The application uses new facebook graph api(javascript sdk). The problem is do not close the authentication popup window after authenticating. It shows a blank page. My code is <script type="text/javascript"> window.fbAsyncInit = function() { FB.init({appId: mixin.fb_connect_a...

FB Connect: is there a way to see the logged in user's facebook apps?

i was wondering if it was possible to fetch a list of a user's facebook application ids via the graph api. after looking at http://developers.facebook.com/docs/reference/api/user, it looks as though it is not a possible connection, but i want to ask the pros before i am completely shut down =( thanks! ...

FB.Canvas.setSize simply fails after a refresh? (facebook iframe application)

I've created a facebook connect application, iframe. I'm using it under apps.facebook.com/app-name. It seems that after a refresh, the setSize() method simply fails. sometimes works, sometimes doesn't... (under latest Firefox and IE) is there a solution for that? would you recommend using the old API instead? testcase: <!DOCTYPE html>...

iPhone Facebook Connect SDK: login and request extended permission in a single call

OK, so I need my app to be able to post something on the users's wall but I'm not very happy with the solution of showing the login pop-up and then the extended permission request popup. Can it be done with only one popup? Or even with 2 pop-ups but triggered by a single API call? Thanks! ...

"new" restfb vs. "old" Facebook API

For a new J2EE Facebook Connect project, do you recommend: restfb (http://www.restfb.com), or: Facebook Java API (http://code.google.com/p/facebook-java-api) The requirements cover pretty much everything supported by Facebook Connect. Completeness, ease of use, stability, etc are important. But what matters the most to us are the od...

Facebook Email Extended Permissions Default Choice

I'm using the Facebook Javascript API to request extended permissions for "email". It works and the user can choose between real and proxied email. In my application, the default choice is the proxied email adress. I thought that was the default way for privacy reasons, but now my manager has seen this site: http://www.tripadvisor.com/ ...

Facebook login within Flash without popup or redirect?

Does anybody know how to handle a Facebook login from within Flash using REST API/FB Connect, without the popup or redirect? It doesnt seem very possible as the login method seems to force the popup. Might it be possible by modding the code to have it load in an unseen iframe (i.e. navigateToURL(new URLRequest("http://www.facebook.co...

Facebook Developer Toolkit question - difference between all.js and FeatureLoader.js.php

Ok can someone explain to me the difference between: <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script> and <script src="http://connect.facebook.net/en_US/all.js" type="text/javascript"></script> They seem to be two completely different libraries, but which one ...

Facebook Connect & ASP.NET Forms Authentication - Timing/Cookie Problem

Hi Guys. Here's what i have: ASP.NET 4.0 Web Application Forms Authentication (Cookie Based) Here's what i'm trying to do: Integrate with Facebook Connect (using the JavaScript & Graph API's) Provide a Single-Sign-On Service for my users (automatically log in users if their logged in and connected to Facebook)...

Facebook Graph API Returns Inconsistent Number of Friends With Facebook Profile

I've noticed that using the new Facebook Graph API to fetch friends of users returns a number of friends that is close to, but not always exactly, the number of friends displayed on the user's profile. Documentation here: http://developers.facebook.com/docs/api For example, on that page, I click on https://graph.facebook.com/me/friend...

How to get the id of the post published in the facebook user's stream

Hi, I'm building an iphone app which uses Facebook connect. I'm using the facebook iphone sdk. I'm able to post messages on to the user's wall. But I want to know the id of the post so that I can retrieve information about that post whenever I wish to. Currently, I'm inherited the FBStreamDialog class and overrode the dialogDidSucceeed ...

App crashes after logging in using facebook connect

I have setup my application key and secret as well as added the facebook connect button to my view. When I select the button and login within the app, it crashes with the following error * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CategoryQuoteViewController session:didLogin:]: unrecognized se...

How will this code publish an image to a wall using Facebook Connect?

I would like to know what this code does exactly. - (void)dialogDidSucceed:(FBDialog*)dialog { //[self doSomethingExciting]; FBStreamDialog *dialog2 = [[[FBStreamDialog alloc] init] autorelease]; dialog.delegate = self; dialog2.userMessagePrompt = @"Example prompt"; dialog2.attachment = @"{\"name\":\"Facebook iPhone SDK\"," "\"href\":\...

How is the location of a subView set?

I am using the standard facebook connect button with the method FBLoginButton *loginButton = [[[FBLoginButton alloc] init] autorelease]; [self.view addSubview: loginButton]; and It places it where I dont want it. How can I set that subviews location? ...

How to add a "Suggest Our FaceBook Page to A Friend" interface on a website?

With the many programming tools from FaceBook, like FaceBook connect, graph api, etc... Is there a way to create a form on a website that does this: I. Website visitor logs into FaceBook (from my website) II. Form changes. Website visitor is presented with button: "Invite FaceBook Friends to Like Our FaceBook Page" III. Form changes...

How to invite people not on your application from Facebook(android sdk).

Hello, I was wondering if there was a way to see who is or isn't using your application on Facebook. For example, sets say I have an application X that a user Y has just connected to. I want to find out if Y's friend Z has allowed X or not. Then, if friend Z has not allowed/used X with Facebook before -- I want to invite that friend t...

How Do I De-Serialize JSON From the Facebook Graph API?

So i'm trying to de-serialize the JSON returned from the Graph API OAuth Token call. The JSON looks like this: "[{\"access_token\":\"bunchofjsondatablahblah",\"expires\":9999}]" I'm trying to de-serialize it (using the DataContractJsonSerializer class) into this object: [DataContract] internal class FacebookOAuthToken { [Dat...