Hi there,
I wanna implement the logout from twitter function in my web
application, so that my clients may able to login with another twitter
account.

Has anyone ever succeed in this function?
Please let us know how to get it done, thanks in advance.

btw, I'm using 'twitter' and 'oauth' gems to implement the whole
twitter function, we can update the user profile after authenticated
successful.

I tried to overwrite the gem 'twitter' to add one more method in lib/
twitter/base.rb:
     def end_session
      perform_post('/account/end_session.json')
    end
 and when I called it, it raised twitter 500 error which means twitter
do not wish I access the url 'http://twitter.com/account/
end_session.json' like that.
Error detail:
Twitter::InformTwitter (Twitter had an internal error. Please let them
know in the group. (500): Internal Server Error):

I'm pretty that  I can access 'http://twitter.com/account/
update_profile.json'  in this same situation.

What's your idea, please?

Reply via email to