You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting error 400 from twitter every time I try to post. I've verified that:
-every key and secret is correct
-my app status allows reading and posting
-my app url matches my deploy url
Here is my code:
` var twitterClient = new Twitter({
consumer_key: " ",
consumer_secret: " ",
access_token_key: this.props.globalState.user.twitter.token,
access_token_secret: this.props.globalState.user.twitter.secret,
});
var message = this.props.message;
twitterClient.post('statuses/update', {status:message}, function(error, tweet, response) {
if (!error) {
console.log("yeah");
I'm getting error 400 from twitter every time I try to post. I've verified that:
-every key and secret is correct
-my app status allows reading and posting
-my app url matches my deploy url
Here is my code:
` var twitterClient = new Twitter({
consumer_key: " ",
consumer_secret: " ",
access_token_key: this.props.globalState.user.twitter.token,
access_token_secret: this.props.globalState.user.twitter.secret,
});
var message = this.props.message;
twitterClient.post('statuses/update', {status:message}, function(error, tweet, response) {
if (!error) {
console.log("yeah");
Is something under the hood deprecated?
The text was updated successfully, but these errors were encountered: