Open rasrobo opened 1 month ago
Description: When attempting to connect to the X (Twitter) API using the free tier access, the script is encountering a "Client Forbidden" error. This is preventing the retrieval of space recordings for specified profiles.
Steps to Reproduce:
Expected Behavior: The script should successfully connect to the X API and retrieve space recordings for the specified profile.
Actual Behavior: The script fails to connect to the API and returns a 403 Forbidden error with the following details:
Error Details: { "client_id": "XXXXXXXX", "detail": "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.", "registration_url": "https://developer.twitter.com/en/docs/projects/overview", "title": "Client Forbidden", "required_enrollment": "Appropriate Level of API Access", "reason": "client-not-enrolled", "type": "https://api.twitter.com/2/problems/client-forbidden" }
Additional Information:
Possible Causes:
Requested Assistance:
Any insights or workarounds that could help resolve this issue would be greatly appreciated.
at the time it appears i cannot proceed because i am using basic tier and cannot afford $1200 a year for this access. X please change this and comment if this is resolved.
$ python3 x_recorder.py -c /path/to/cookie/file -d -p @example_user -a YOUR_BEARER_TOKEN Failed to connect to the API for profile: @example_user API response status code: 403 API response content: { "client_id": "XXXXXXXX", "detail": "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.", "registration_url": "https://developer.twitter.com/en/docs/projects/overview", "title": "Client Forbidden", "required_enrollment": "Appropriate Level of API Access", "reason": "client-not-enrolled", "type": "https://api.twitter.com/2/problems/client-forbidden" } No recordings found for the profile '@example_user' in the past 7 days. No recordings found.