facebook-sdk

Contacting Facebook Connect user without asking permission to send emails

Hi, I have a facebook connect installation on ilovefootball.com.au When they log in, we previously didn't ask Users for permission to get their email address, but the owner of the site wished to ask for users email to contact them later. If we didn't ask for their email address, is there a way to contact a Facebook connect user simply...

Looping login with Facebook JS SDK and Rails

I'm using the Facebook JS SDK for single-sign with my rails app. I translated the php code from the Facebook example (at the bottom of the page under "Single Sign-on with the JavaScript SDK") into ruby. This appeared to be working great but I've noticed one user that gets continual redirects when trying to login. The logs look like: Pr...

How do I create a Facebook application for use only on page tabs?

Hey all, I'm currently creating a very basic Facebook application and I've run into a bit of a roadblock, so any help would be appreciated. My application is as follows: I want to have the application pull records from my database that the user has added to my site off of Facebook and display them in a tab on one of their fan pages. Ev...

redirect user to login page without using fbml on facebook page

Hi, so i'm creating a login_url using php framework and getLoginUrl(). if my facebook app is setted as an FBML page, something like this works fine echo '<fb:redirect url="'.$login_url.'" />'; but i need my facebook application configured as an IFRAME page, so it will not be rendered as FBML. whats the best way to redirect my user ...

Android Facebook-SDK multipart/form-data upload got "Invalid OAuth access token"

I use HttpCilent 4.0.1 to upload picture, but I got HTTP 400 Error, the error message like this, Plz someone help me. {"error":{"type":"OAuthException","message":"Invalid OAuth access token."}} My code is... private void uploadPicture( ) throws ParseException, IOException { HttpClient httpclient = new DefaultHttpClient(); ...

Facebook PHP SDK - maintaining a session

I've been playing around with the Facebook PHP SDK for a site that I'd like to use Facebook's single sign in for. I've been able to login to my Facebook account from my site and successfully tested a few of the features (posting to /me, an FQL query etc.). When generating the login URL I have set the cookie parameter to true, however I ...

Can't get email address using facebook sdk for IOS and graph api for facebook

Hello, I am trying to get the email address from a user. He logs in, I ask permission to access email and he chooses ok. Then I use the graph API from facebook to access the email address. - (void) fbDidLogin { btnLogin.isLoggedIn = TRUE; [btnLogin updateImage]; NSString *theURL = [ [NSString stringWithFormat: @"https://...

Facebook Connect Mobile Web - page requested not found

hey everyone, Im creating a mobile website and trying to implement facebook connect. I am using the PHP SDK I have following code: $loginUrl = $facebook->getLoginUrl(array( 'auth_token' => $session['auth_token'], 'next' => 'http://www.site.com/fbconnect', 'cancel' => 'http://www.site...

Can Facebook's Javascript SDK work together with the older Facebook API?

Can the current Facebook Javascript SDK work with older Facebook API library? Right now there is code to load the current Facebook Javascript SDK by: window.fbAsyncInit = function() { FB.init({appId: '218565466928', status: true, cookie: true, xfbml: true}); }; // [...] initialize it And there is code to use the old ...

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...

How to add two assemblies with the same name into an asp.net mvc project

I'm using the Facebook Toolkit inside my Asp.net MVC Application. But now I like to use the Facebook c# Sdk as well, exspecially to test, which one works better for me. Sadly they both consist of three assemblies that have the same name: Facebook Facebook.Web Facebook.Web.Mvc How can I still include both in my project? ...

How to start with new Facebook SDK for ASP.NET

I've done quite some research on which ASP .NET Facebook SDK to use. Acording to this post (http://msdn.microsoft.com/en-us/windows/ee388574.aspx) old FacebookToolkit should not be used for new projects but instead we should use the all new and shiny Facebook C# SDK. But he problem is that it lacks documentation, especially beginners ex...