Giter Site home page Giter Site logo

Bad Creds are Good Creds about twitter-api-php HOT 5 CLOSED

j7mbo avatar j7mbo commented on August 23, 2024
Bad Creds are Good Creds

from twitter-api-php.

Comments (5)

J7mbo avatar J7mbo commented on August 23, 2024

Can you please post the code you are using?

from twitter-api-php.

johnstew avatar johnstew commented on August 23, 2024
$twitterSettings = array(
                'oauth_access_token' => 'MY_ACCESS TOKEN',
                'oauth_acces_token_secret' => 'MY_ACCESS_SECRET',
                'consumer_key' => 'MY_CONSUMER_KEY',
                'consumer_secret' => 'MY_CONSUMER_SECRET'
                );

$twitterURL = "https://api.twitter.com/1.1/followers/ids.json";
$twitterReqMethod = "GET";
$getfield = '?username=j0hnstew';

$twitter = new TwitterAPIExchange($twitterSettings);
echo $twitter->setGetfield($getfield)
                ->buildOauth($twitterURL, $requestMethod)
                ->performRequest();

from twitter-api-php.

J7mbo avatar J7mbo commented on August 23, 2024

j0hnstew is a protected account - could you try unprotecting your tweets and then try again?

from twitter-api-php.

johnstew avatar johnstew commented on August 23, 2024

I will try doing that but do you know if there is a way for an individual to access their protected tweets through the Twitter REST API?

from twitter-api-php.

J7mbo avatar J7mbo commented on August 23, 2024

Protected tweets are on Twitter's end unfortunately... I can't see a way around this. An old issue but closing as I'm pruning the old issues.

from twitter-api-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.