Ruby on Rails Friday, November 30, 2012

Hi
   I am working with ruby on rails application.
   I can make a user to signin facebook when he click the facebook button.
        I am having a button as Add facebook button, in that, when the user click the button, he need to add one more facebook account.
        Since a user is already logged in, i cant able to show the facebook signin page, it again logging with the same account.

Help me to solve this,
    I thought of logout the previous account, and make signin for the new user.... but for logout we need previous user access token.. how can we get who is logged in presently in our system.....  Is there a query to find a person who is logged in presently in facebook

Thankx


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/--_1gnm_PEwJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment