Simple Twitter Connect
[resolved] No connect with twitter (4 posts)

  1. victormenta
    Posted 3 years ago #

    When I'm click the "sign with twitter" button it seems that screen_name can't be taken from the twitter API.

    Any ideas?

    Also I've changed the update_usermeta instead of this update_user_meta in stc-login.php. But the twitter user not added yet to the metausers table.


  2. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 3 years ago #

    STC is currently broken due to Twitter's recent API changes. I'll update the plugin soon.

  3. cigzigwon
    Posted 2 years ago #

    I solved the problems people have been dealing with in your plugin. The fix comes down to wordpress having issues with HTTPS requests and not having a valid CA cert, a missing parameter in the access_token as well as a missed URL update for the callback to verify the account login.

    I did this by:

    --Updating OAuth.php to the latest and adding your class_exists check back in.
    --Change the $TO_API_ROOT variable to use http:// instead of https:// in twitterOAuth.php
    --Update the $this->accessTokenURL() to accept a required parameter $_REQUEST['oauth_verifier] in twitterOAuth.php
    --Update the function stc_get_credentials() to use "http://api.twitter.com/1.1/account/verify_credentials" as the url for the stc_do_request() call in stc.php

  4. Mr Press
    Posted 2 years ago #

    Great news. I would be very grateful if you could provide your code changes in detail or perhaps fork the plugin since I am doubtful it is still supported. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.