SocialEngine 4: Twitter oAuth Error Fix

Are you getting the error message “Failed getting token and token secret from response” when trying to use Twitter with SocialEngine?


This is happening because Twitter has recently started enforcing the URLs to exchange oAuth tokens to use HTTPS. So we need to update the URLs to get the request token from this:

http://twitter.com/oauth/request_token

to

https://twitter.com/oauth/request_token

Download the files. Replace the following files with the ones in the package:
application/modules/User/controllers/AdminSettingsController.php
application/modules/User/controllers/AuthController.php
ADDED - application/libraries/PEAR/HTTP/OAuth/Consumer.php

Hope this helps anyone that needs it.

Looking for quality SocialEngine Hosting?  Look no further than Arvixe Web Hosting!

Tags: , , , , , , , | Posted under SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

One Comment on SocialEngine 4: Twitter oAuth Error Fix

  1. Harinath says:

    After updating files i solved the above problem but thru this issue in socialengine.
    Gone (code: 410, call: http://api.twitter.com/1/account/verify_credentials.json)

    Can you please help me on this.

Leave a Reply

Your email address will not be published. Required fields are marked *


8 × 7 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>