Questions tagged [facebooker2]

facebooker2 is a Facebook Connect library version 2 for ruby that provides rails helpers for interfacing with Facebook's Open-graph JavaScript API.

facebooker2 is a Facebook Connect library for ruby that provides rails helpers for interfacing with Facebook's Open-graph JavaScript API.

40 questions
4
votes
4 answers

Tutorial for any new Facebook API Rails wrappers?

Is there a tutorial on any of the up-to-date (Nov 2010) Facebook (new API) wrappers for Rails such as Facebooker2 or Koala?
Justus
  • 57
  • 1
  • 3
4
votes
1 answer

How do I rspec with valid_session using Facebooker2 in rails 3?

I'm pretty new to Rails. I have been developing my app with RSpec. I have just followed a tutorial for Facebooker2 and added the before_filter for authentication. #app/controller/application_controller.rb before_filter…
mmhan
  • 731
  • 7
  • 18
3
votes
0 answers

facebooker2 error

I am using facebooker2 gem on Ruby on Rails 2.3.8. This works very well. However now when i try connect with a user this error is thrown. Mogli::Client::OAuthException (Error validating access token: The session is invalid because the user logged…
maxiperez
  • 1,470
  • 2
  • 20
  • 40
2
votes
1 answer

facebook connect - internet explorer 7 & 8 - login issue - blank screen after login - fb_xd_fragment

I have an app that uses facebook authentication. A user has no problem logging in when using any modern browser. With ie 7 & 8 the following happens - The user clicks the login button. A facebook login window pops up The user enters their details…
Finnnn
  • 3,530
  • 6
  • 46
  • 69
2
votes
0 answers

facebook connect using ajax in ror (facebooker2)?

Relatively simple question here but I can't seem to figure it out. I have an application where the user submits a get request and is then given a page with results. On this page, the user can login to facebook to interact with the results (rate,…
MEURSAULT
  • 8,307
  • 4
  • 24
  • 23
2
votes
1 answer

How do i pass parameters in Mogli

Using Mogli and facebooker gem, how do i get my wall data with a limit of 1000? using this i get whole posts def index redirect_to new_oauth_path and return unless session[:at] user = Mogli::User.find("me",Mogli::Client.new(session[:at])) @user =…
Sreeraj
  • 2,690
  • 6
  • 26
  • 37
2
votes
1 answer

Rails Facebook Custom login button

I'm using Facebooker2 plugin for Facebook integration in Rails. This is how I currently render Facebook login button: fb_login_and_redirect("redirect_url", :text => "Login with Facebook", :scope => 'email,offline_access') Instead of using standard…
1
vote
0 answers

Rails-facebooker2, current_facebook_user throw error when facebooks' user is logged in

I am using facebooker2 in Rails 2.3.5 (ruby 1.8.6, and there's no possibility to upgrade its version), and the method current_facebook_user is throwing a error when the facebook's user is already logged in. what i want to achieve is that the method…
Leonel
  • 91
  • 1
  • 5
1
vote
1 answer

rails gem outputting broken javascript

I've been using this gem for my facebook canvas app: https://github.com/dekart/facebooker2.git Today I swapped it out for another facebook auth gem, decided I didn't like it and went back to my original. I'm including the gem like this: gem…
Finnnn
  • 3,530
  • 6
  • 46
  • 69
1
vote
0 answers

Not showing facebook connect button with Facebooker 2.0

I'm developing a rails application with Facebooker 2.0, my problem is that the facebook login button only appears when the user's in not already logged in in his facebook account, if the user is logged in, it disappears. I'm using this code to show…
brianfalah
  • 191
  • 2
  • 11
1
vote
2 answers

Posting comments to the feed with facebooker2

Does anyone know how to post comments to the feed with facebooker2? I used facebook_session.user.comment_on with previous version of facebooker(v1).
jst
  • 21
  • 3
1
vote
1 answer

Multiple Facebook apps with Facebooker2

I'm working on a rails app that powers multiple facebook apps (serving them via iFrame) and allows users to install / customize the different apps from an admin area in my app. I'm using the Facebooker2 gem and noticed that I can only specify one…
ericalli
  • 1,203
  • 15
  • 25
1
vote
1 answer

Specifying facebooker app id by domain

I have a RoR website at domain1.com that uses a facebook application linked to that domain. I want to make domain2.com to point to the same server as domain1.com, so domain1.com/foo is equivalent to domain2.com/foo. Obviously (I think) I need to…
B_.
  • 2,164
  • 2
  • 17
  • 20
1
vote
1 answer

Rails facebook app and Third party UID's

I have a rails facebook app that uses Facebooker2 and the blog post says they are moving to third party uid's instead of normal uid's. What would it take to make the migrations to keep my app working?
1
vote
0 answers

facebook token expiration issue

I've integrated facebook with my app using facebooker2 and Mogli. Now offline_access is removed from the facebook. I'm able to get token but its getting expire in 2 hrs, also If user get logged out from facebook, Its also get expired. I wanted to…
Neelesh
  • 1,458
  • 2
  • 13
  • 20
1
2 3