• Once Twitter authenticates and redirects back to the ‘application’, I get an empty array ($userinfo), which results in:

    An error occurred while trying to retrieve your Twitter username. Please try again.

    Is this a result of Twitter’s API updates? If so, any plans to catch things up? If not, what’s going awry?

    Thanks!

    http://wordpress.org/extend/plugins/twitconnect/

Viewing 3 replies - 1 through 3 (of 3 total)
  • dowster

    (@dowster)

    Hi Cliff,

    I can’t help but have noticed exactly the same issue myself.

    Update:

    Found this: https://dev.twitter.com/discussions/976?page=1

    apparently xml is no longer supported – that’s what it’s trying to use.

    dowster

    (@dowster)

    Hey Cliff,

    The problem seems to be with xml support disapearing. I managed to fix the issue myself in the code:

    ‘commented out these lines and added a few to grab the twitter details without using xml

    // $to->format = ‘xml’;
    // $twitterInfo = new SimpleXMLElement($xml);

    $content = $to->get(‘account/verify_credentials’);
    $id = $content->id;
    $screen_name = $content->screen_name;
    $name = $content->name;
    $url = $content->url;

    I’m trying to fix the same issue n the solution above didn’t work for me.. I did a lil debugging and $user_login_n_suffix and $twc_user_login_suffix are both empty. I am self hosting the app vso should I update any of the other files?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on Login; need to update for Twitter API 1.1?’ is closed to new replies.