Questions tagged [twitter-api-v2]
231 questions
7
votes
1 answer
Twitter API V2 reply to a tweet
I am trying hard to find a way to reply to a tweet with Twitter API V2, but it seems there is no endpoint for doing something like that, in Twitter Developer docs i found a way to post and delete a tweet, to retweet a tweet and delete a retweet, but…

Edin Osmic
- 374
- 5
- 25
4
votes
1 answer
Problem with keys and tokens when making requests to Postman via the Twitter API v2 collection
For information, I have a Free account.
I want to make requests on Postman with the Twitter API V2 collection to test the API and verify that everything works (keys and tokens) before developing an application.
I try to make the GET Single Tweet…

Ribcet76
- 41
- 1
4
votes
0 answers
How to post a tweet with geo data using Twitter API v2.0?
I am trying to post a tweet with geo data (latitude and longitude) using the Twitter API v2.0, but I am getting the error message "Invalid Request: One or more parameters to your request was invalid".
Based on the official documentation, I can…

Kennedy Sousa
- 59
- 7
3
votes
0 answers
How do i get TWITTER_OAUTH2_REFRESH_TOKEN?
I am trying to create a tweet and follow a twitter account from springboot application.I am using twitter-api-java-sdk.
TwitterApi apiInstance = new TwitterApi();
TwitterCredentialsOAuth2 credentials =…

selvi
- 1,271
- 2
- 21
- 41
3
votes
1 answer
Twitter API callback integromat url
I always get Twitter API response
"Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings"
but I changed Redirect CB URL in twitter API settings to…

ffmpeg_extra_g
- 31
- 1
3
votes
0 answers
problem when authenticating requests to the Twitter API v2
i keep getting this error:
tweepy.errors.Forbidden: 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…

drdarkfrancis
- 43
- 4
2
votes
1 answer
Twitter API V2 Follows lookup
I am trying to retrieve a list of who a Twitter account follows using Python.
After realizing that the free tier API access did not provide this endpoint I upgraded my developer account to the basic plan (for $100 a month) as it clearly states that…

Ebikeneser
- 2,582
- 13
- 57
- 111
2
votes
1 answer
Why does Twitter API return the error 'If you need access to this endpoint, you may need a different access level?'
I'm trying to use this function with Python
def create_thread(message_text, media_ids=None):
tweets = [message_text[i:i + 280] for i in range(0, len(message_text), 280)]
if media_ids:
response =…

Leonardo Alonso
- 41
- 1
- 5
2
votes
0 answers
Extract information on twitter API through Python
I recently created a Twitter account, and I want to access weather-related information using an API. In the developer section, under the “Overview” section, it says following.
LIMITED V1.1 ACCESS ONLY
Standalone Apps live outside of Projects. This…

mehrdad
- 31
- 2
2
votes
1 answer
Twitter API V2 reply to a tweet (getting 403 (unsupported authentication) with bearer token)
getting these error
Error Part
{
"title": "Unsupported Authentication",
"detail": "Authenticating with OAuth 2.0 Application-Only is forbidden for this endpoint. Supported authentication types are [OAuth 1.0a User Context, OAuth 2.0 User…

V A Magendran
- 21
- 2
2
votes
0 answers
Issue with Twitter API v2
I'm trying to fetch the full text of tweets using the Tweepy library in Python with the Twitter API v2. I'm attempting to query using tweet.full_text, but I'm getting a 403 Forbidden error.
According to the Twitter documentation, this may be due to…

Krzysztof Romańczuk
- 31
- 3
2
votes
0 answers
How to get more and more bookmarks with twitter api v2?
I have a question about Twitter-API.
Topic endpoint="/2/users/:id/bookmarks"
https://developer.twitter.com/en/docs/twitter-api/tweets/bookmarks/api-reference/get-users-id-bookmarks
I am trying to get a user's bookmarks using the API. I have…

Buntin
- 21
- 1
2
votes
2 answers
From yesterday i'm facing the issue of snscrape with twitter
ScraperException: 4 requests to…

Dipam Soni
- 71
- 1
- 8
2
votes
1 answer
How to get a notification when a tweet is deleted via the twitter API?
How can I get a notice when a tweet was deleted using the twitter API?
In version 1.0 of the API, I was able to get the notification in a stream using this:
var Twit = require("twit");
var T = new Twit({
consumer_key: "555",
…

John
- 5,942
- 3
- 42
- 79
2
votes
0 answers
Stream tweets by specific authors with Tweepy V2 API
I am currently trying to write a bot which only collects tweets from specific accounts. For that I use Tweepy V2 api to filter the stream with a streaming_client in Python as follows:
class TweetPrinterV2(tweepy.StreamingClient):
def…

Jul Wac
- 21
- 2