Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 543627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:34:15+00:00 2026-05-13T10:34:15+00:00

Update: Working as designed once I cleared my cookies. Doh! I’m working on an

  • 0

Update: Working as designed once I cleared my cookies. Doh!

I’m working on an app that for various reasons uses the Facebook
Javascript API to initiate a Facebook connect session. I’d like to be
able to use that session in a few rails methods using Facebooker.

The basic workflow is like this:

  1. User goes to non-rails page and logs in to FB Connect via JS
  2. User goes to another non-rails page and can view FB data such as
    name, profile pic
  3. User goes to a rails based page – rails uses session created in
    step 1 to do some processing

My problem is in step 3. Facebooker detects the session fine, but when
I try to call a method like facebook_session.user.name I get: Session
key invalid or no longer valid

If I go back to the url in step two, my session still works fine.

So is this a fundamental incompatibility, or is there some data I can
send to facebooker so that I can hook into the correct session? Maybe
my facebooker.yml needs tweaking?

Any thoughts are appreciated.

My facebooker.yml

development:
 api_key: redacted
 secret_key: redacted
 canvas_page_name: blah_blah
 callback_url: http://test.domain:3000
 pretty_errors: true
 set_asset_host_to_callback_url: true
 tunnel:
   public_host_username:
   public_host:
   public_port: 4007
   local_port: 3000
   server_alive_interval: 0
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T10:34:16+00:00Added an answer on May 13, 2026 at 10:34 am

    Gah! Always clear your cookies before posting on the interweb people.

    The problem was with an existing facebooker-based session that was still around in my browser.

    All working now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have designed a stylesheet/javascript files bundler and minifier that uses a simple cache
I am making an iPhone app that is designed for things that will be
Update I now have it working to an extent that the view is populated
I am working on a web application that is designed to display a bunch
Update: I wrote a working script that finishes this job in a reasonable length
I'm working on re-writing an old build that was originally designed (or not, as
I get this error when I do an svn update : Working copy XXXXXXXX
-edit- nevermind, i made a mistake in my select statement. Update was working correctly.
I'm using Subversive plugin in Ganymede, but after today's update it stopped working -
UPDATE As I've tried to get MEF working throughout my application, I'm coming across

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.