# Facebook connect problem

**URL:** <https://www.ruby-forum.com/t/facebook-connect-problem/176312>\
**Category:** Rails\
**Created:** [September 29, 2009, 12:32am UTC](https://www.ruby-forum.com/t/facebook-connect-problem/176312 "2009-09-29T00:32:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Margareth\_FloriSSSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@Margareth\_FloriSSSS](https://www.ruby-forum.com/u/Margareth_FloriSSSS)\
**Post date:** [September 29, 2009, 12:32am UTC](https://www.ruby-forum.com/t/facebook-connect-problem/176312/1 "2009-09-29T00:32:49Z")

</div>

Hi.  
I’m trying to allow users can connect with their facebook user. I  
already  
have the connect button, and the aplicaction indetify is there is a  
session  
or not.

Here is my problem. I create an application on facebook apps to get my  
key.  
So, when I use the facebook button the application knows who i am and  
reload  
my homepage and i can retrieve my facebook informaciÃ³n, but when another  
user uses the button the open window does not close, does not reload my  
home, and goes directly to the user facebook homepage. In this case, my  
application identify there is a session but only display my information  
(if  
I am friend from the logged user) or does not display anything in other  
case. The session always has the facebook app information (keys, uid,  
etc)

What i am doing wrong? I prove using both Rails (rfacebook) and only  
HTML/Javascripts

Tnks.

Margareth

---

<div class="post-metadata">

**Author:** ![Margareth\_FloriSSSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@Margareth\_FloriSSSS](https://www.ruby-forum.com/u/Margareth_FloriSSSS)\
**Post date:** [September 29, 2009, 12:39am UTC](https://www.ruby-forum.com/t/facebook-connect-problem/176312/2 "2009-09-29T00:39:10Z")

</div>

Margareth FloriÃ¡n wrote:

> Hi.  
> I’m trying to allow users can connect with their facebook user. I  
> already  
> have the connect button, and the aplicaction indetify is there is a  
> session  
> or not.
> 
> Here is my problem. I create an application on facebook apps to get my  
> key.  
> So, when I use the facebook button the application knows who i am and  
> reload  
> my homepage and i can retrieve my facebook informaciÃ³n, but when another  
> user uses the button the open window does not close, does not reload my  
> home, and goes directly to the user facebook homepage. In this case, my  
> application identify there is a session but only display my information  
> (if  
> I am friend from the logged user) or does not display anything in other  
> case. The session always has the facebook app information (keys, uid,  
> etc)
> 
> What i am doing wrong? I prove using both Rails (rfacebook) and only  
> HTML/Javascripts

Then this is probably not a Rails issue, but something to do with  
Facebook. You’ll get better help on the Facebook dev forum.

BTW, I don’t think rfacebook is still being developed. Try Facebooker  
instead.

> Tnks.
> 
> Margareth

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
