facebook-connect

PyFacebook with Pylons

I'd like to implement PyFacebook in my Python + Pylons application. Where should I include the package? What's the cleanest way to import it? What directory should I put the files in? Thanks! ...

Can this be done using Facebook Connect?

Here is the sequence of events I would like to see happen: Visitor shows up to my site and clicks the connect button Visitor authorizes the connection by logging into their facebook account My site records their authorization My site posts to their wall "Sally just joined http://foo.com. A website about foo." Much later, my site can po...

Facebook Connect auto-signon?

So with all these fancy new APIs and such that Facebook is making available, I've noticed that on the partner sites (Pandora, docs.com, etc.), there is no login---Facebook automatically signs you in. You don't even need to press a button to connect if you already have a FB session established. Is this a feature of the new API? Or is thi...

Fetch Facebook ID with PyFacebook, "Session key is required"

I'm trying to fetch the logged in user's ID with Facebook + PyFacebook via: #Establish connection to Facebook via API f = Facebook(config['app_conf']['pyfacebook.apikey'], config['app_conf']['pyfacebook.secret']) #Get the current Facebook ID facebook_id = f.users.getLoggedInUser() But I keep getting the error: FacebookE...

Showing popup in the new FB JS SDK

HI, I used to have an Href in my website, when users clicked on it, multi friend selector showed so they can incite their friends to my website. That was done using the following code: FB.ensureInit(function() { var dialog = new FB.UI.FBMLPopupDialog('XXXXXXX', ''); var fbml = 'Multi-Friend-Selector FBML' dialo...

Facebook Connect via Javascript doesn't close and doesn't pass session id

I'm trying to authenticate users via Facebook Connect using a custom Javascript button: <form> <input type="button" value="Connect with Facebook" onclick="window.open('http://www.facebook.com/login.php?api_key=XXXXX&amp;extern=1&amp;fbconnect=1&amp;req_perms=publish_stream,email&amp;return_session=0&amp;v=1.0&amp;next=http%3A%2F%2Fwww.e...

Simple example of popup authentication with Facebook Graph API

Trying to get Facebook to authenticate my users via a javascript popup. Right now, I have: <input type="button" value="Connect with Facebook" onclick="window.open('https://graph.facebook.com/oauth/authorize?client_id=XXXXXXXXXXX&amp;redirect_uri=http://example.com/step2&amp;display=popup')" /> But when the user logs in via Facebook,...

How To Update a Facebook App Page Status

Hi all, I've done a few searches and couldn't find an answer. I'm trying to update the status of my business's "Application Page" (not personal page, and not "Fan Page") on Facebook. Two questions for the community: 1) How to update the "Application Page" status programmatically? I found the answer for a "Fan Page" here (http://sta...

Using Facebook Graph to simply post a wall message with just javascript

Hey guys, Now I know this question has been asked similarly a lot of times but I'm really struggling here. Its a simple thing I need to do: I would like to post a message onto a users wall saying "I scored 8/10 on objects game" then a URL Thats it. I don't mind if facebook needs to authenticate and then post the message. and I really ...

Getting facebook OAuth access_token through Python SDK does not seem to be working, any ideas?

According to http://github.com/facebook/python-sdk/blob/master/src/facebook.py , In my canvas application, i can do the following call to get my access_token, which will work because my user has used facebook to login: import facebook myDict = facebook.get_user_from_cookie(cookies, app_id, app_secret) # my access_token is myDict["acce...

FB.Connect.streamPublish error?

Does anybody here know if Facebook is deprecating the existing JS api. The pubblishing pop-up just started showing up blank as of yesterday. It was working fine three days ago. I haven't changed my code. Thanks! Trying to learn information from Facebook itself is an exercise in futility. ...

Just-in-time invocation of Facebook login window from UIWebView

I have an app that presents a UIWebView pointing to my own server. I have a Facebook Like button on some pages inside the UIWebView. I have it working now, but the login screen is way too big for the phone screen. I would like to present a nicer login dialog such as the one in the Facebook iPhone API, and then continue back to the web...

Fb.Connect.StreamPublish with images: type 'i' is not allowed.

Any ideas on what that error means? I have an attachment media type image with a full URL specified and I am seeing this error. ...

Using Facebook Connect with jQTouch?

Hi, i'm starting a new jQTouch-project now and i'm thinking of using facebook connect to make it easier for users to register with my site. do anyone have any experience with this? I'm using the Facebook PHP SDK (from github), and i first tried to use it with the built in example, it worked good. i later tried it with jQTouch (the lat...

facebook permission dialog php-sdk shaded inside iframe application

i'am having trouble with facebook php-sdk new api, permission window i am using facebook connect inside the facebook iframe application http://tinyurl.com/2aojf5l when i try to login with following url login windows laying out well inside facebook application but permission diolog is being overlayed by shaded screen what can cause th...

Facebook: obtain album id just created with Photos.createAlbum

Hello. I'm developing an iPhone app that creates a Photo Album to hold the pictures that the user is going to upload. On - (void)request:(FBRequest*)request didLoad:(id)result { I'm trying to obtain the aid returned with this code: else if ([@"Photos.createAlbum" isEqualToString: request.method]) { NSLog(@"[Photos.createAlbum...

How to access my profile info from facebook in iphone sdk?

How can i fetch my profile information from facebook, using facebook api for iphone sdk. I have successfully able to login using connect method. after that i have written query something like : - (void)session:(FBSession*)session didLogin:(FBUID)uid { NSString* fql = [NSString stringWithFormat:@"select uid,name,first_name,middle_...

Uploading photos to facebook, Facebook App or Facebook Connect?

I am working on a website that allows people to upload photos to their facebook account (as if the user manually uploaded those photos to facebook), and the uploaded photos will be hosted on facebook instead of my server. Should I develop a facebook application or use facebook connect? ...

Facebook connect PHP API - friends_get() returns empty array

Couple of hours ago I succeed to get friends_get() to return an array of friends, but, now I don't know if it is my fault or something is wrong in facebooks' end (API problems?). Anyway I used a code from their documentation: <?php require_once 'facebook-platform/php/facebook.php'; $appapikey = ''; //CHANGE THIS $appsecr...

Authlogic Facebook Connect and cucumber

I added the authlogic_facebook_connect plugin to my project and I'm now having problem running my cucumber test because of a NoMethodError. undefined method `set_facebook_session' for nil:NilClass (NoMethodError) In authlogic_facebook_connect/Session.rb the method "authenticating_with_facebook_connect?" is called as some sort of callb...