facebooker

Facebooker params empty

I am trying to connect facebooker and authlogic using this http://github.com/kalasjocke/authlogic_facebook_connect I was having problems so began to debug the facebooker gem code. I realized that no params are getting set using the facebook login that have anything to do with facebook. I can push the facebook login button, it brings up ...

Facebooker before_connect(facebook_session) causes http error with email

Hi, I am using the facebooker authlogic plugin. I have it working pretty well now. However, any attempt to set the email address in User.before_connect(facebook_session) is causing a Apache to throw the following error: Premature end of script headers: person_session, referer: (person_session is my user_session). Here is the code for...

Ruby on Rails: Is anyone using either Facebooker or authlogic_facebook_connect in a production setting?

I recently integrated authlogic_facebook_connect into my application. However, I've discovered that it seems to have some real problems with keeping track of user sessions, and even after logging someone out, the next person that logs in with Facebook will be logged in as the prior user. I found a fix for this, and manually integrated ...

Using authlogic, asking for email, should facebook's login window redirect a new application to it's own window?

When I ask for email permissions, my facebook popup window redirects to my site in its own window, whereas if I do not ask for email permissions the facebook window closes and my site redirects as normal... so asking for email seems to make something go wrong. I see this in myserver logs: makes this appear in my server logs: Completed ...

Rails: using jquery + facebooker to generate fb:dialogs

I have a list of Area objects that I'm displaying in a Facebook application. I would like to have a link for editing them, next to each row. I would like the form to appear in a <fb:dialog>, so I created the following partials: # _edit.fbml.erb <% fb_dialog("edit_area_#{@area.id}", false) do %> <%= fb_dialog_title "Edit area" %> <% fb...

how can i add fb_multi_friend_selector, Facebooker2

Hi i want to add to my app multi-friend-selector. I found a method in helpers: fb_multi_friend_selector. Am i supposed to do just: <%= fb_multi_friend_selector("Test message") %> Because it is not working for me. My user is authenticated in my app. I can see all of my fb friends names(with current_facebook_user.friends)...etc. S...

i have a facebook user logged in my app. how to get ID's of his friends?

If I have in my web application a facebook user logged in. I want then to be able to post to his friends sth on their new's feed. For this I need an ID of his friend that i want to post to.(at least I think I should need an id or maybe there is some other way). So the question is how to get the ID's of his friends. I can get all the nam...

Books for Ruby On Rails With Facebook Platform!

Hey guys! do you know good books for Ruby On Rails With Facebook Platform. please suggest some good books for Ruby On Rails With Facebook Platform! ...

How do you get an ID of a friend? facebooker2. rails.

I am using facebooker2 and mogli gem to interact with facebook open graph. My question is how can I get the ID of my friend so I can post him/her sth on his/her wall? All I can do is post to lets say first friend on my list of friends with the following code: client = current_facebook_client @user = Mogli::User.find("me", client) unless...

Capybara+Selenium not finding FB-Connect link/button

I have the following snippet in my html displaying a FB-Connect link: <fb:login-button id="mylogin" onlogin="try { window.location.href = "http://localhost:3000/"; } catch (e) { alert('RJS error:\n\n' + e.toString()); alert('window.location.href = \"http://localhost:3000/\";'); throw e }"></fb:login-button> That works fine when manual...

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

Is fb_graph or Koala gem better than facebooker2?

Is the fb_graph gem better? It seems to be newer, but the facebooker has a lot more people using. http://github.com/nsanta/fbgraph http://github.com/mmangino/facebooker Update: I looked into koala, and it seems it is a good choice as well. http://github.com/arsduo/koala I also figure out that fb_graph is different than fbgraph. ...

What's the best open source Rails Facebooker project to learn from?

Hi, I'm creating social network app that integrates with Facebook connect with full facebook integration. I'm looking for an open source Facebooker or facebooker2 project that i can look at the code and learn from. Thanks ...

How to use Facebook accessToken from an iOS app to use in Rails / Facebooker

Hi there. I'm using iOS SDK to do Facebook Connect in an iPhone application, I can successfully login in and get the accessToken from the Facebook instance but I'm not able to use it from a rails/facebooker. I do the call on the iPhone app: NSString * url = [NSString stringWithFormat:@"http://localhost:3000/fb_login?access_token=%@",[s...

FB Iframe App: Use different stylesheets depending on whether the user views the app through my website or through Facebook

I'm developing a facebook app which can be viewed in an iframe on Facebook itself, or as a standalone site (the line between Facebook Connect and iframe apps seems to have blurred...). The stylesheet I have now looks good on my site, but doesn't look right when viewed through the FB iframe (probably b/c the browser screen is much bigger...

With Rails, how to convert code which used Facebooker to using Facebooker2?

There is code to use Facebooker gem (which uses the old Facebook REST API). Does someone have experience how to convert those code to using Facebooker2, which uses the new Facebook Graph API? For example, Facebooker has Facebooker::Session and Facebooker::User and they are both gone in Facebooker2. I can't find too much docs on the tw...