facebook-connect

How can I use offline access with the Facebook javascript SDK?

In the Facebook javascript api there is a login function in which you specify extended permissions: http://developers.facebook.com/docs/reference/javascript/FB.login One of these permissions is offline access. So I can save the facebook user's session key and assume it will not expire for a long time. The question I have is simple - h...

write a message on wall of facebook using my iphone application

hi friends, I am making an iphone game , In that I want to upload score on face book. I am new to face book codes, I've got it's API from github.com. But I don't know how to write or post directly my message on wall of face book of log in account else how to share my score on facebook. I've done log in portion. Can any one help me???? ...

Facebook Connect to send SMS to Facebook Friends

Hi There, I am developing an iPhone application that will send sms the logged in user friends'. I am using FacebookConnect for the same. The problem is I am getting the uid of all friends but what is the way to send SMS to these uids(friends UID). Thanks, UPT ...

Event handling to detect if user clicks a 'Like' button in XFBML page

I have a Facebook connect app / canvas IFrame app which has a Like control for a fanpage. I'd like to detect when the user clicks the Like button to be able to display additional info (a discount coupon code). I'm using the latest Javascript API but the events that can be handled doesn't seem to include detection of social widget contr...

Facebook Graph API - authorization types?

I'm struggling with the new Facebook Graph API, perhaps someone here can help. Here is what I want to do: provide a ‘login w/ FB’ button, throw to /authorize, get a code, throw to /access_token, get an access_token, and be able to hit https://graph.facebook.com/me for info about the user. When I try to use type=client_cred in the /auth...

Facebook Oauth 2.0 Token errors

The user clicks the URL that is generated via the code below. $url = 'https://graph.facebook.com/oauth/authorize?' . http_build_query(array('client_id' => FACEBOOK_APP_ID, 'redirect_uri' => 'http://fb.example.com/facebook', 'scope' => 'publish_stream,email,offline_access,user_...

FB Connect JavaScript SDK : Comments Not Working

Hi, I am working on the new API that FB has provided. I tried using FB connect's comment system. I did exactly what is specified in the examples(Or at least I tried to do that). In the code i have used <fb:comments></fb:comments> But when the page is rendered, a iframe appears where My FB page is visible. Sometimes there is nothing! My...

Getting Facebook App's User Public Information

I have a client who would like to pull public information about people who "like" some of their web pages or are associated with their Facebook app. I wanted to do a proof of concept, but we really don't about any particular methodology. Another option we want to explore is to assume we have captured a Facebook user ID/email. Can we us...

Switch between saved sessions in one app

Are you able to have two sessions saved in one iPhone app? I don't mean two sessions active. I want to be able to let someone switch between Facebook accounts in my app without having to logout and back in. To my understanding a session's state is saved in user preferences and is resumed when you basically say [ session resume ]. Ca...

Getting FBML Error unknown tag "fb:like" error with Facebook app

I've been looking at this for ages now and I cant find anything on the net that provides a solution. When trying to use the tag... ...this is embedded on a tab canvas. The 'Like' button appears when using the app locally, however, it doesn't appear when used on the facebook site. I get this error:- FBML Error (line 264): unknown t...

Authorizing facebook connect users with other third parties

I'm working on a site that has a large proportion of users signing in via Facebook Connect, so they don't have a username and password for our site. We offer our own user-authenticated API using basic auth, but this doesn't allow facebook connect users to authenticate with clients using our API. Is there any way that doesn't break Face...

How can I use the value of a variable from one class in another in Objective-C?

I am fairly new to Objective-C and have been doing some iPhone programming. Is it possible to look up the value of a variable in a different class? Basically what I am doing is running a function that exists in my application delegate from a view controller, but the application delegate needs to use a variable stored in the view contro...

Facebook connect in asp.net (VB, not C#)

Hi guys, i would like to know how to implement the classic button "Facebook Connect" in my web site. I also would like to get the value for "Name and surname", "Age", and "profession". I write vb.net code and i've already downloaded the Facebook Developer Toolkit in codeplex. Thanks in advance ...

Cross domain issues getting Facebook Connect working

Hi all, I'm having trouble setting up a pretty simple site that I want to use FB Connect. Nothing crazy with popups, iframes, etc on my end, just have a FB login button on the page. I'm getting a cross-domain error after following the instructions on FB's tutorial: http://wiki.developers.facebook.com/index.php/Facebook_Connect_Tutori...

What should I use as my connect URL when using FB AUTHENTICATION?

{ "error": { "type": "OAuthException", "message": "Invalid redirect_uri: The Facebook Connect cross-domain receiver URL (http://www.beta.neighborrow.com/callback) must have the application's Connect URL (http://www.beta.neighborrow.com/callback/) as a prefix. You can configure the Connect URL in the Application Settings E...

Authenticating / Authorising FB IFrame Application

Hi all, This is all too confusing for me at the moment. I seem to be going in circles. So here is my situation and my questions. I have an IFrame Application that needs to pretty much just run on the Canvas page. In this App, I wish to access certain user data (which I believe are beyond the normal set of permissions, thus requiring ex...

Facebook Connect PHP SDK Curl Peer SSL Verification Error

I'm integrating Facebook Connect into our application. I thought using Facebook Official SDK at http://github.com/facebook/php-sdk is the best way, as it is advertised on FB Developers wiki. But I couldn't manage to make it work. When investigating the API code, I remembered my previous experiences about CURLOPT_SSL_VERIFYPEER parameter...

Session handling in python / django

I am creating an application that lets users login using Google, Facebook and the website's native login. The site is being built in Python / Django. What would be the best way to handle login, session management and user authentication? I do not want to use the in-built Django user management. I am using Django very sparingly(URLs, te...

Facebook Javascript SDK’s FB.ui Bug in IE8

i use this code to publish something fb.ui({ method: 'stream.publish', message: 'test', ... }); but if message include chinese words ex:message : '中文' ie8 will be error what should i do? sorry,my english is not good please tell me the answer,thanks. ...

How to logout from facebook connect in asp.net ?

Hello, i can't logout a user when it's connected through facebook connect. I'm using the facebook developer toolkit. Anyone know how to "disconnect" a user ? ...