Comments (5)
Can you please post the code you are using?
from twitter-api-php.
$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.
j0hnstew is a protected account - could you try unprotecting your tweets and then try again?
from twitter-api-php.
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.
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)
- How can I get Exception issue ?
- Post 280 character HOT 3
- Double posting when posting an image. HOT 3
- Blocking some accounts with this package
- Premium activity webhook event not generating log
- No response deleting DM HOT 1
- engagement endpoint
- Generate access token for other accounts.
- Is this working with Twitter Labs? HOT 1
- Unknown SSL protocol error in connection to api.twitter.com:443
- Fatal error: Uncaught Error: Call to a member function buildOauth() on null HOT 5
- List endpoints requiring POST method do not work
- Twitter API V2? HOT 1
- No longer working?
- Can not send direct message HOT 1
- Licence
- Too slow...
- Important Updated needed for Doc, about get user Data > email HOT 3
- Parse Error
- Exception in TwitterAPIExchange.php file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-api-php.