facebook-connect

Log out of BOTH Wordpress & Facebook

Hi All, So I've successfully integrated Facebook into my Wordpress site. I've also linked together the accounts. However, the way the site works is that you're either logged into the site via the Wordpress Account Facebook Account or Wordpress & Facebook I know how to log out of Facebook and I know how to log out of Wordpress, but ...

Calling JS Function on Form Submit

I have created a JS function which executes fine when it's included an the 'onclick' action of standard HTML link tag as follows: <a href="#" onclick="return fb_CheckPermission('publish_stream');">test</a> However where I really want to use this function is on the 'onsubmit' action of a form but when I include it as follows the functi...

Facebook Connect Statistics

All, A client is asking for Facebook Connect statistical data. Specifically, how many people have shared a link to their wall. I have a Facebook app setup but I am having trouble interpreting the statistical data. Do Facebook apps collect this data, or can anyone think of any way of gleaning this data from the past month, from server l...

Facebook Connect: hasPermission() from js?

Is it possible to determine whether a user has granted my app a specific permission or not via javascript? Something similar to how you do it in php: $fb->api_client->users_hasAppPermission('publish_stream'); I know i can request a permission with FB.Connect.showPermissionDialog('publish_stream', null); But i just wan't to know i...

rfacebook and facebook image uploading api

I'm using rfacebook gem to interact with facebook connect. And I'm having a problem with uploading images. As facebook api says, the data should be transferred in a hash like json object. So I'm making an hash publish_values = { :uid => @post.profile.channel_uid, :message => @post.content, :auto_publish => ...

Authlogic Facebook Connect Snafu

I have an application configured with authlogic and authlogic_facebook_connect, but every time I click to "Connect" button, my UserSession fails validation, saying "You did not provide any details for authentication" Isn't the authlogic_facebook_connect supposed to bypass login/password authentication? Am I missing some configuration st...

Facebook Connect: with no javascript?

Is it possible to write a website that uses Facebook connect without JavaScript? I have a site set up that works great using XFBML but this (obviously) fails when I visit with JavaScript disabled. I have a feeling that this is possible using the REST-api for Facebook but I'd still appreciate some pointers. There was a discussion about t...

ASP.NET Forms Auth: authenticate programmatically

Hi, I was hacking on a website, and found that the original authentication model is Forms Authentication to login this website's members... and I need to integrate another service (say OpenID, Google Connect, Facebook Connect... etc.). How can I programmatically authenticate an external user on my website, knowing that he has been authe...

Permission dialog on Facebook iframe app not closing after accept

Hello there I'm writing an iframe app from which I need to update user wall status. First I place a fb:login-button, which opens a popup asking user to login in Facebook. after loging in the callback takes the app to a page where the user is asked to grant permissions. I'm using this code to get permission for offline access and statu...

Facebook API need to get applications uid with only key not any logged in session

Hi, I am creating a WP facebook sidebar, basicly I have a facebook application API key and Secret Key the problem i am experincing is i need to get the UID of the applications owner using only the API KEY or Even the Secret Key... At this point in the app no user is logged in at all Is this even possible? Thanks Ricky ...

Getting Facebook Connect to work with Cloudfront

Hi, I have a Flash based website with Connect. Recently I moved my SWF files up to Cloudfront. I have a base href in my index.html that points to my CF URL, so everything is loaded from there. Suddenly connect has stopped working, I click on the login button and nothing happens. I ran firebug, which says xd_receiver.htm is being lo...

Facebook Connect for iPhone: How to upload an image (UIImage) to user's wall without having to use json-embedded link or photos.upload?

Is there any way to upload an image (UIImage) directly from an iPhone app to a user's wall/feed? All the samples I see are either using a json-embedded link or they use the photos.upload call with album ID (aid) which results in the user getting the image in his photo album(s). What I want to do is to upload an (UI)Image created (by th...

Facebook API errors with "Session key invalid or no longer valid"

Doing some work with Facebook connect/the RESTful API and for some reason i keep getting this error Session key invalid or no longer valid As far as i can tell im authenticating correctly. Getting the session key from the cookie after the facebook connect dialog pops up and the user logs in. Then i open up the extended permissions dia...

Facebook Connect: what type of user profile information can be retrieved?

When enabling Facebook Connect, any facebook user can then login to your website, what type of user profile information can my website retrieve? Username? Email? First Name? Last Name? ...

Can I "add friend" with FAcebook's API?

Does their API allow my Facebook-connected user to add a friend? ...

Facebook Connect on Coldfusion 8

Hi, I am trying to get ColdFusion 8 work with FB Connect I am running CF8 on IIS, Windows Server 2003. I use this FB Connect wrapper for ColdFusion written by James Constable, http://jamesconstable.co.uk/web-development/facebook-connect-library-for-coldfusion The library is written for Railo server, I managed to port it (or i thin...

Session bug using facebook-connect-with-authlogic in Rails

I'm trying to follow this article: http://ryanbigg.com/2010/03/testing-facebook, but I'm stuck. I think the problem is with my session, in that the current_usermethod comes up with nil for session[:facebook_session]. According to the original authlogic, it says to use the active_record_store for sessions: # config/environment.rb confi...

Authentication mechanism comparison

I have to start a new project where user authentication/management will be required. A lot of websites use existing authentication mechanisms like facebook/twitter/openID/google/etc (even SO). While I might understand that they are used to simplify some parts of this workflow can someone enumerate the pluses and minuses of using one o...

OpenId + Facebook Connect

Hi! I have a request for implementing a login system using local credentials + openId + facebook-connect. So a user could sign up/sign in using any of the 3 possibilities. I think that allowing OpenId AND facebook connect adds some flexibility in one had, but in other hand adds some restrictions since you have to integrate all differen...

Facebook JS API: How to get FB.Connect.streamPublish to use auto_publish

I'm trying to publish stuff to someone's wall. It works, but I'm also trying to use the auto_publish feature so the user will only get one popup granting the publish_stream extended permission. So I set streamPublish's auto_publish to true, but I still get the popup asking me if I want to publish and/or edit the message. What am I doi...