Questions tagged [twitter-oauth]

Twitter implementation of oauth

Oauth - is an open protocol to allow secure API authorization in a simple and standard method from desktop and web applications.

See also:

2753 questions
6
votes
2 answers

Twitter OAuth Access Token Error: Request token missing

I'm trying to run through a proof of concept social sign in flow with Twitter using Postman, following this guide: https://developer.twitter.com/en/docs/twitter-for-websites/log-in-with-twitter/guides/implementing-sign-in-with-twitter I'm stuck on…
brice
  • 1,801
  • 1
  • 10
  • 15
6
votes
1 answer

Twitter premium not authorized

I attempted to run the code below and am getting an error that states: HTTP Error code: 403: Forbidden: Authentication succeeded but account is not authorized to access this resource. from searchtweets import ResultStream, gen_rule_payload,…
user1624577
  • 547
  • 2
  • 6
  • 15
6
votes
4 answers

215 error while requesting Token from Twitter oAuth API

I'm trying to Implement Twitter login in my NodeJS app. As per the documentation from Twitter, I need to pass the below parameters to this url via POST request. URL: https://api.twitter.com/oauth/request_token PARAMETERS: oauth_nonce=, …
Anirudh
  • 2,767
  • 5
  • 69
  • 119
6
votes
3 answers

Questions regarding use of Twitter-Oauth API in php

Recently I read a nice tutorial How to Authenticate Users With Twitter OAuth even it written before changing twitter ID format but it works with the new Twitter ID Format too. I have some questions , please explain if anybody done it…
xkeshav
  • 53,360
  • 44
  • 177
  • 245
6
votes
1 answer

twitter request_token endpoint always returns "couldn't authenticate you"

I am writing a simple twitter login and trying to get request Token in order to redirect user to access token but i always end up with couldn't authenticate you error i tried to add signature as last header it did not work too. when i remove some…
nikoss
  • 3,254
  • 2
  • 26
  • 40
6
votes
0 answers

Get all replies of a particular tweet using API Twitter

I am using the Twitter API in a Swift application, I want to show a particular tweet along with all of its replies, How can I do it? I saw many old posts that say "there is no way to retrieve the replies of a tweet", Has it changed? is there a way…
nacho c
  • 311
  • 1
  • 3
  • 15
6
votes
3 answers

Is there any Way to Not Get our App Blocked by Twitter

I have coded a Fine bot which Tweets every 150 seconds time.sleep(150) . I have made a APP from twitter with Read / Write Permissions . But after 30 Tweets, Twitter Blocks the Application. So is there any way to Bypass it. ? Or has someone ever…
Yada Rahall
  • 239
  • 5
  • 14
6
votes
1 answer

Twitter Login with Cordova and Angularjs: 401 unauthorized error

I am trying to get user details after user login from twitter by this link - https://api.twitter.com/1.1/account/verify_credentials.json To do this first I request for oauth_token, in second step I called for signature and in last I tried to get…
Nisarg
  • 3,024
  • 5
  • 32
  • 54
6
votes
1 answer

How to get tweets of a specific user using twitter4j

I am writing an app that should fetch tweets of a specific twitter user. So I have to colect screen name first then should fetch tweets. I tried with the below code. package gethometimeline; import twitter4j.*; import java.util.*; import…
rgk
  • 800
  • 1
  • 11
  • 32
6
votes
2 answers

Media upload to twitter without third party library

I am trying to post multiple images to twitter using the media/upload so that I can tweet using multiple images. but unable to do. So, I get an unauthorized 401 error. I can not use any third party library var oauth_token = "***"; //"insert…
xoanon
  • 195
  • 1
  • 10
6
votes
2 answers

Getting authorization error when cancelling from twitter authorization using Fabric SDK

I am using TwitterKit to log in users to the app. I am using a custom button in a fragment and TwitterAuthClient to authorize users. The login happy flow is working as expected. However, when I cancel the authorization and try to log in again by…
Nidhi Shah
  • 568
  • 2
  • 7
  • 14
6
votes
0 answers

Sign in Twitter OAuth without Sessions aka token_secret (AngularJS Fail)

This is an express route from angularjs satellizer example, implementing 3 legged OAuth with Twitter: /* |-------------------------------------------------------------------------- | Login with Twitter …
user3995789
  • 3,452
  • 1
  • 19
  • 35
6
votes
1 answer

AngularJS and Web Api Social authentication

I need some help for authenticate my angularJS app and my rest api(WEB API) with external social logins( twitter, facebook, google, etc). I'm working with Web-api and angularJS app(not spa project from Visual Studio, it's independent). How I should…
Jorge Guerola
  • 2,072
  • 1
  • 16
  • 18
6
votes
2 answers

Twitter oauth request token expiration

For getting access token in twitter api you firstly should get request token to make it possible grant access to user's account. I've found that access token does not expire unless it was revoked by user. What about request tokens? Do they expire?…
megido
  • 4,135
  • 6
  • 29
  • 33
6
votes
3 answers

Twitter Application-Only Auth with "Bearer Token"

Short questions: I've generated an Access Token and an Access Token Secret at apps.twitter.com for my application. How do I use them to send a request to https://api.twitter.com/1.1/statuses/user_timeline.json? What is a Bearer Token comprised of?…
kylejs
  • 1,128
  • 11
  • 25