Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Filter by
Sorted by
Tagged with
Tooling
0 votes
0 replies
70 views

I’m conducting a registered study on the accuracy of political pundits’ predictions, using their posts on X (Twitter) as data. The project is registered on OSF: https://osf.io/s9c3x. I need to collect ...
Matthew Boland's user avatar
0 votes
0 answers
47 views

I'd like to get the entire tweet thread story. Like this one, for example: https://x.com/sterlingco_3/status/1808511113124048946 There are 10 tweets. I'm using https://api.twitterapi.io/twitter/tweet/...
lubi_nascimento's user avatar
0 votes
0 answers
28 views

Im building a twitter bot and the API isnt working. It seems I have the free version of it and i am getting errors such as 453 - You currently have access to a subset of Twitter API v2 endpoints and ...
zelbow's user avatar
  • 17
0 votes
0 answers
61 views

I'm encountering a 403 error when ingesting tweets using Tweepy v3.10.0 and Twitter API. The Search API works fine in Postman, indicating an authentication issue within the notebook ...
Djibril Diakhate's user avatar
0 votes
1 answer
164 views

I am currently working on a project called “Azure-Social-Media-Analytics-Solution-Accelerator”. This project utilizes data from two main sources: news sites and Twitter. The data is collected and ...
Djibril Diakhate's user avatar
-3 votes
1 answer
797 views

I am using X API v2 (basic access) with Tweepy and want to get the list of my account followers. Any idea how to achieve this please? I know that client.get_users_followers(id) is no more available ...
Ali AI110's user avatar
0 votes
1 answer
282 views

What I want to do I'm currently coding a Twitter bot which just creates a tweet with a couple of media with the Python wrapper "Twikit". This is the Python code "betsuaka_test.py" ...
ten's user avatar
  • 827
-4 votes
2 answers
1k views

so i want to use tweepy in order to post some tweets ( photos, and videos basically) and i am just using the free versin of the twitter developer account. I know there are some limitaion, and by ...
rahmoumm's user avatar
1 vote
1 answer
364 views

I want to retrieve tweets using Twitter API of basic developer account. I do not have too much knowledge of using API for scraping. I already set my Authentication Token's permission to Read and Write ...
Gabriel Liew's user avatar
0 votes
1 answer
592 views

I'm a college student I am currently doing research in NLP, which I need to scrape tweets from Twitter. Does anybody who are experienced with Twitter API, may I know that must I subscribe Basic plan ...
Gabriel Liew's user avatar
0 votes
0 answers
825 views

I write the following code to try the free version of Twitter API v2 import requests import os # Retrieves the bearer token from the environment variables bearer_token = os.environ.get("...
Sean's user avatar
  • 1
0 votes
1 answer
122 views

I am using twitter v1 api for searching the tweet , last day python script working fine but today it gives the error TweetException Failed to parse the Payload Any suggestion? consumer_key = "*&...
Harsh Bhatnagar's user avatar
0 votes
0 answers
72 views

I am trying to retrieve a total of 5000 tweets using the basic access API. I have been getting less than the 100 tweets asked for using the duplicate check in my code. I want to use the next_token ...
Cinnamon Onyx's user avatar
1 vote
1 answer
6k views

So, I wrote a code for a Twitter Bot that tweets "YES" on every thursday. However, when i run the code i get the following error: 403 Forbidden 453 - You currently have access to a subset ...
Carlo Garibaldi's user avatar
1 vote
0 answers
58 views

Unable to Authenticate using Tweepy for Twitter V2 Unable to get follower data. IF any one used Twitter V2 Basic Version for getting followers details. Tried with from pytwitter import Api also even ...
Krutika Lodaya's user avatar
0 votes
1 answer
973 views

I upgraded my access to Basic, and I am allowed to retrieve 10,000 tweets per month. I am trying to scrape 3000 tweets for a particular key word, my code is attached, but i get an error that the max i ...
Chioma Amuwa's user avatar
0 votes
1 answer
868 views

I am planning to create an academic paper and I need to scrape data from Twitter. However, I am unsure of the authenticity of the data gathered through snscrape and can't afford to pay Twitter API. Is ...
jeyb's user avatar
  • 3
0 votes
0 answers
149 views

CODE: client = tweepy.Client(bearer_token, api_key, api_secret, access_token, access_token_secret ) auth = tweepy.OAuth1UserHandler(api_key, api_secret, access_token, access_token_secret) api = ...
Sushant Gupta's user avatar
3 votes
1 answer
1k views

Hello there thanks for reading my post. I was using this same code yesterday and it was okay but today stoped working and i got this error: raise Forbidden(response) tweepy.errors.Forbidden: 403 ...
Rafael Motilla's user avatar
2 votes
1 answer
165 views

So i was finding older versions of sentiment bots i could tweak and reuse and found this one from 9m ago but its giving me forbiddion error when i try to connect to twiiter api(error is below) ...
Yoshi's user avatar
  • 21
0 votes
1 answer
498 views

I can't even find any clue about it in Twitter Developer dashboard, I look at the API key and the only word use there 'api_key', 'api_key_secret', 'access_token', 'access_token_secret', 'bearer_token',...
Muhammadim Yusoff Jamaluddin's user avatar
0 votes
1 answer
948 views

Something wrong with my tweepy API? Been trying to access the twitter API using tweepy, but getting the 403 Forbidden error. Tried the TwitterAPI and tweepy which both did not work. Researched and ...
aannddyy's user avatar
2 votes
1 answer
1k views

I was able to successfully authenticate my access keys and everything - however, I can't do pretty much any action without getting an error saying this is not in my access plan. Twitter says I am ...
Kevin Johnson's user avatar
3 votes
3 answers
5k views

Does anyone know if it is still possible to collect the number of followers for a given Twitter account using the free version of the Twitter v2 API (after Feb 9th, 2023)? I tried getting access to ...
Othoninho's user avatar
1 vote
1 answer
2k views

How can i use twitter api to post tweet on behalf of another account (in my possession) ? I have a developer account on my main twitter account, i created an app and i wanted to use this app to post ...
rulebreaker99's user avatar
0 votes
0 answers
326 views

I've got the the bearer token, but keep getting a json error: (401, '{\n "title": "Unauthorized",\n "type": "about:blank",\n "status": 401,\n &...
Colter Hettich's user avatar
0 votes
1 answer
65 views

Unexpectedly, I got an email today saying that my (simple and long-lived) twitter app violated terms and conditions. This is must be due to the 2.0 initiative. We can skip the discussion about the ...
mofftech's user avatar
-3 votes
1 answer
223 views

I am using the Twitter web API to scrape some followers. Previously, I was able to obtain around 50,000 followers in a 15-minute window, but now I am only getting 5,000 in that same time frame, and I'...
codextwit's user avatar
0 votes
0 answers
91 views

I would like to search the text of tweets. With one keyword it works well. Several are a bit annoying: the code gets long when I use or: userTweets = [tweet for tweet in userTweets if 'OECD' in tweet['...
Picnic's user avatar
  • 23
0 votes
1 answer
563 views

I scraped millions of tweets with the Twitter API V2 and in order to publish the data I wanted to replace all data with the tweet id, so that future users can reproduce my dataset. However I just ...
Maxl Gemeinderat's user avatar
0 votes
1 answer
131 views

I could successfully get the data of a user in Python by get_all_tweets(user_name). Now I would like to retrieve data from several users in the same code. I tried to copy the same code and append it ...
Picnic's user avatar
  • 23
3 votes
2 answers
2k views

Twitter recently allowed verified users to Tweet more than 280 characters, up to 4000. When I use the API to retrieve one of these longer Tweets I don't receive the full text - it's cut off around 280 ...
Justice Oarry's user avatar
0 votes
0 answers
231 views

y'all. I'm trying to figure out how to sort for a specific country's tweets using search_recent_tweets. I take a country name as input, use pycountry to get the 2-character country code, and then I ...
user21102907's user avatar
0 votes
1 answer
1k views

I made a twitter bot recently which gives me this error. Sometimes it runs correctly and it shows tweets with specified keywords in the console but other times it also shows the tweet itself but ...
areksuu's user avatar
  • 85
0 votes
1 answer
121 views

Hi Im trying to create a twitter like bot, that likes post with specific hashtags. But I am getting unauthenticated error even though I am using the right keys. raise Unauthorized(response) ...
Asterix's user avatar
  • 41
0 votes
1 answer
99 views

I am trying to collect tweets from 2022 using Twitter API. I can record the tweet_fields for the tweets, but I can't figure out how to add columns for the username and name (the user_fields) for each ...
aoden's user avatar
  • 1
0 votes
1 answer
562 views

I am trying to block a user account with the Twitter API through Python. Here's what my method looks like: def block_user(): payload = {"target_user_id": "amazon"} # Get request ...
mowsie2k's user avatar
1 vote
2 answers
313 views

I am really new to twitter api, and I've been trying to get a list of IDs of everyone that retweeted a specific tweet. After several attempts i can't get the 'api.get_retweeter_ids' to get every id. ...
Hadi Harb's user avatar
0 votes
0 answers
275 views

I can't add "list:XXXXXXXXXX" to my rules (I can add other rules though and they work). What I'm missing? import tweepy class TweetPrinter(tweepy.StreamingClient): def on_tweet(self, ...
arthur's user avatar
  • 342
1 vote
1 answer
69 views

I was trying to use the function below functions for Twitter data scraping. tweets_copy = [] for tweet in tqdm(tweets): tweets_copy.append(tweet) I am getting the error below: TweepError: Failed ...
Ayorinde 's user avatar
1 vote
1 answer
272 views

I don't know how to count or even find tweets that are extended tweets. I have used Twitter Search API to search for random tweets, but my main problem is that I couldn't find extended tweets from ...
haroka's user avatar
  • 11
0 votes
0 answers
57 views

I've used tweepy to collect twitter users' info including their public image and that shows up as an url (the img_path column), just wondering how can I get an local path for the image and shows up as ...
user17424407's user avatar
0 votes
1 answer
77 views

So i want to mass follow people on Twitter with my account but im kinda confused because i don't know how to fix the error, like i've requested to follow the "user", so what i want to do is ...
Handra Putratama's user avatar
1 vote
1 answer
462 views

I am interested in retrieving tweet streams about the forth-coming Nigeria's general election. I want all tweets from Nigeria, which contains information about 4 major presidential candidates only (&...
Amina Umar's user avatar
1 vote
0 answers
115 views

I have an academic research API for Twitter and have been using the Twarc Python library to scrape tweets. For actual tweet scraping it works really well. However, when scraping the followers of ...
gdhp's user avatar
  • 27
0 votes
1 answer
344 views

I am trying to get all retweets from tweet_ids list. I have a tweetlist.csv file. I got tweet.id column from this file. I added all tweet id into tweet_ids list. Then I want to get all retweet which ...
hilal saim's user avatar
0 votes
2 answers
287 views

I want to get the records that which user is suspended and which one is deleted, is there any way to get? from TwitterAPI import TwitterAPI api = TwitterAPI(consumer_key, consumer_secret, auth_type='...
Adnan Ali's user avatar
  • 3,065
2 votes
1 answer
1k views

I want to get tweets from a specific topic from the topics section. But I couldn't find this on the twitter api page or the tweepy website. how can I get this tweet with tweepy or twitter api? Below ...
hilal saim's user avatar
2 votes
0 answers
33 views

The below code is Twitter bot stream API triggered on several rules. Everything is working fine except when the rate limit is hit. The tweets tagged during the rate limit waiting period are lost. How ...
shiva's user avatar
  • 434
1 vote
2 answers
79 views

I have a json file with all the data I searched using Twitter API. I only want to keep certain keys in that file and delete the rest of them, but don't know how to do it correctly. I wrote some code ...
Charlie Sugarman's user avatar

1
2 3 4 5
7