# Need help with redirection

**URL:** <https://www.ruby-forum.com/t/need-help-with-redirection/194699>\
**Category:** Rails\
**Created:** [September 9, 2010, 9:16am UTC](https://www.ruby-forum.com/t/need-help-with-redirection/194699 "2010-09-09T09:16:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![silver-spoon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aeb1de/32.png) [@silver-spoon](https://www.ruby-forum.com/u/silver-spoon)\
**Post date:** [September 9, 2010, 9:16am UTC](https://www.ruby-forum.com/t/need-help-with-redirection/194699/1 "2010-09-09T09:16:42Z")

</div>

I want to create an web application that will link up a student’s  
facebook, twitter and orkut accounts all under one shed. Its like  
connecting all the students within a college, to login into the web  
app, the userid will be the unique studentID provided by the college  
itself.  
Now, once a student has logged-in, he can open his facebook, twitter  
and orkut a/c in the same window, lets say under tabs. How can i do  
that??  
I mean how can i pass a student’s Facebook’s user-id and password to  
facebook server and if user authentication is done, then show the  
student his facebook wall.  
I am very confused and don’t know how to deal with this.

---

<div class="post-metadata">

**Author:** ![silver-spoon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aeb1de/32.png) [@silver-spoon](https://www.ruby-forum.com/u/silver-spoon)\
**Post date:** [September 9, 2010, 9:50am UTC](https://www.ruby-forum.com/t/need-help-with-redirection/194699/2 "2010-09-09T09:50:40Z")

</div>

On Sep 9, 8:15 am, Silver S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> student his facebook wall.  
> I am very confused and don’t know how to deal with this.

Twitter & facebook both have apis that allow you to get at the user’s  
streams. You don’t send their password though - a mechanism called  
OAuth is used to get you a token that allows facebook etc to know that  
the user has granted your application permission to access the user’s  
data (with various levels of granularity)

Fred
