# Twitter - oauth gem - not getting callback

**URL:** <https://www.ruby-forum.com/t/twitter-oauth-gem-not-getting-callback/183341>\
**Category:** Rails\
**Created:** [February 12, 2010, 2:59am UTC](https://www.ruby-forum.com/t/twitter-oauth-gem-not-getting-callback/183341 "2010-02-12T02:59:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![haries](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/4491bb/32.png) [@haries](https://www.ruby-forum.com/u/haries)\
**Post date:** [February 12, 2010, 2:59am UTC](https://www.ruby-forum.com/t/twitter-oauth-gem-not-getting-callback/183341/1 "2010-02-12T02:59:52Z")

</div>

I redirect the user of my application to Twitter for oauth style  
authentication using my app’s request\_token.

The user is able to enter username and password on Twitter’s page BUT  
then, instead of calling back my application, Twitter displays a page

* * *

You’ve successfully granted access to MyAppName!

## Simply return to MyAppName and enter the following PIN to complete the process. 123456

Why is this happening? Can anyone shed some light?

I have set the callback url in my app’s settings.

Any help greatly appreciated.
