Giter Site home page Giter Site logo

[Bug Report] Error 403 Forbidden when using GET /2/users/:id/following with Twitter API v2 endpoint about twitter-api-v2-sample-code HOT 31 OPEN

twitterdev avatar twitterdev commented on August 18, 2024 15
[Bug Report] Error 403 Forbidden when using GET /2/users/:id/following with Twitter API v2 endpoint

from twitter-api-v2-sample-code.

Comments (31)

stevenvdhorst avatar stevenvdhorst commented on August 18, 2024 4

I am having the exact same problem since today.

from twitter-api-v2-sample-code.

MarijaErason avatar MarijaErason commented on August 18, 2024 3

I'm using the basic plan (100$ monthly) and untill this morning I was able to pull the followers/followings of the user.
I use tweepy and create tweepy.Client object using only the bearer_token.
My app is under the project, so that is not an issue.
This is so unreliable if every other day some new unexplainable error will pop up.

In case anyone experiences any changes (API working) please write here. Thank you! :)

from twitter-api-v2-sample-code.

sher9n avatar sher9n commented on August 18, 2024 2

We're having the exact same problem too! As of 2 hours ago. Why is the API so unstable?!

from twitter-api-v2-sample-code.

stevenvdhorst avatar stevenvdhorst commented on August 18, 2024 2

Has anyone found a fix yet?

from twitter-api-v2-sample-code.

davidnyseen avatar davidnyseen commented on August 18, 2024 1

same here

from twitter-api-v2-sample-code.

alextes avatar alextes commented on August 18, 2024 1
Screenshot 2023-06-30 at 11 22 04

The changelog appears to be for the v1.1 API.

Here is the community developer forum topic: https://twittercommunity.com/t/get-2-users-id-following-is-now-broken/197526

No solutions there either as of now.

For the v1.1 endpoint you get the following on basic paid access btw, 453 code with: "You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product".

EDIT: what am I saying 😂 , it literally says for the v2 API in the message. Probably the label is wrong 🤔 ? They even managed to break the message 🙈 .

from twitter-api-v2-sample-code.

Fabien-desablens avatar Fabien-desablens commented on August 18, 2024 1

same issue here using bearer token to authenticate:
403 Forbidden
When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.

from twitter-api-v2-sample-code.

W72H avatar W72H commented on August 18, 2024 1

DId anyone find a solution?

from twitter-api-v2-sample-code.

sire-ambrose avatar sire-ambrose commented on August 18, 2024 1

if you are using python tweepy, use the create_tweet instead of update_status

client = tweepy.Client(consumer_key =CONSUMER_KEY, consumer_secret =CONSUMER_SECRET, access_token =ACCESS_KEY, access_token_secret =ACCESS_SECRET)

client.create_tweet(text='Hello World!')

from twitter-api-v2-sample-code.

xiaoshengaimm avatar xiaoshengaimm commented on August 18, 2024

We have the same issue.
We are already basic plan and paid 100$ every month.
But When we get someone followers by api, we got this error. We can get the follow list before but today we got this error.
And We detached the app and re-attach it to the project, but not be solved.
It's crazy for that we can not get any accurate information from the error message.
The additional information is that our Tweet caps - pull is fulled. Is it related to this???

Anyone help for that!!!

from twitter-api-v2-sample-code.

GuillaumeCisco avatar GuillaumeCisco commented on August 18, 2024

Having exactly the same issue on followers and following.
But getting a user from its username is fine.

I'm also using tweepy.

from twitter-api-v2-sample-code.

SaladAuthority avatar SaladAuthority commented on August 18, 2024

Also getting this error

Api docs are returning a 404 (https://developer.twitter.com/en/docs/twitter-api/users/follows/api-reference/get-users-id-followers)

I hope this API is not getting deprecated?

from twitter-api-v2-sample-code.

mksmhdb avatar mksmhdb commented on August 18, 2024

Same issue here

from twitter-api-v2-sample-code.

aseprite1 avatar aseprite1 commented on August 18, 2024

Their updated documentation lacks GET /2/users/:id/following 😂 I can't believe this is an expensive paid API.

https://developer.twitter.com/en/docs/twitter-api/rate-limits#v2-limits

from twitter-api-v2-sample-code.

pkilller avatar pkilller commented on August 18, 2024

twitter made a mess of shit。

from twitter-api-v2-sample-code.

xiaoshengaimm avatar xiaoshengaimm commented on August 18, 2024

Twitter is crazy poor. Two api need pay $42000 a month..............

from twitter-api-v2-sample-code.

stevenvdhorst avatar stevenvdhorst commented on August 18, 2024

Has anyone found anything yet? It's been a week lol

from twitter-api-v2-sample-code.

eth0izzle avatar eth0izzle commented on August 18, 2024

What's the workaround for this? I guess we'll have to scrape?

from twitter-api-v2-sample-code.

sshah98 avatar sshah98 commented on August 18, 2024

getting the same issue

from twitter-api-v2-sample-code.

verges-io avatar verges-io commented on August 18, 2024

Same problem here.

from twitter-api-v2-sample-code.

rameman avatar rameman commented on August 18, 2024

if you are using python tweepy, use the create_tweet instead of update_status

client = tweepy.Client(consumer_key =CONSUMER_KEY, consumer_secret =CONSUMER_SECRET, access_token =ACCESS_KEY, access_token_secret =ACCESS_SECRET)

client.create_tweet(text='Hello World!')

Is there any way to attach images without using "tweepy.API" as it gives error and "tweepy.Client" does not allow to attach images.

from twitter-api-v2-sample-code.

MuhammedQuresh avatar MuhammedQuresh commented on August 18, 2024

Anyone found a solution yet?

from twitter-api-v2-sample-code.

MuhammedQuresh avatar MuhammedQuresh commented on August 18, 2024

https://api.twitter.com/2/users/me?user.fields=public_metrics

Thats the solution to get total followers count and following count.

from twitter-api-v2-sample-code.

MuhammedQuresh avatar MuhammedQuresh commented on August 18, 2024

I wasn't replying to you

from twitter-api-v2-sample-code.

xiaowei6688 avatar xiaowei6688 commented on August 18, 2024

GET /2/users/:id/following

I am currently experiencing a problem when using consumer_ Key and consumer_ 401 Unauthorized appears during secret authentication. Using Bearer_ Token undergoes 2.0 authentication and appears as: 403 Forbidden
When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.

I am certain that all the information is correct because all other interfaces can be used normally. I'm thinking how to solve this problem? thanks

from twitter-api-v2-sample-code.

SatyaBipros avatar SatyaBipros commented on August 18, 2024

Facing same issue with basic plan, anyone have solution yet??

from twitter-api-v2-sample-code.

FrankLoud avatar FrankLoud commented on August 18, 2024

create_tweet

also 403 Forbidden

from twitter-api-v2-sample-code.

huojiecs110 avatar huojiecs110 commented on August 18, 2024

GET /2/users/:id/以下

我目前在使用consumer_Key和consumer_Key时遇到问题,在秘密认证过程中出现401 Unauthorized。使用 Bearer_ Token 会经历 2.0 身份验证,并显示为:403 Forbidden 对 Twitter API v2 端点的请求进行身份验证时,您必须使用附加到项目的 Twitter 开发人员应用程序中的密钥和令牌。您可以通过开发者门户创建项目。

我确信所有信息都是正确的,因为所有其他接口都可以正常使用。我在想如何解决这个问题?谢谢

我通过第三方服务解决的验证关注者信息~~需要的话加VX cs_125569489

from twitter-api-v2-sample-code.

huojiecs110 avatar huojiecs110 commented on August 18, 2024

创建推文

还有403禁止
111

from twitter-api-v2-sample-code.

huojiecs110 avatar huojiecs110 commented on August 18, 2024

Facing same issue with basic plan, anyone have sol
222
ution yet??

from twitter-api-v2-sample-code.

pass-pass-pass avatar pass-pass-pass commented on August 18, 2024

我确信所有信息都是正确的,因为所有其他接口都可以正常使用。我在想如何解决这个问题?谢谢

Hello, how did you solve the issue?

from twitter-api-v2-sample-code.

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.