685 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
55
views
Get Tweet Thread Context with twitterapi
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/...
1
vote
0
answers
129
views
Counting X tweets per keyword
For a research project I need the number of tweets for a keyword for certain days in 2014,2015, and so on. I use the search_tweets function in the rtweet package in RStudio. Here is my code.
token <...
1
vote
1
answer
225
views
Get Twitter tweets using snscrape
Can somebody please help me on this.I copied and pasted the code word to word from a YouTube video https://www.youtube.com/watch?v=jtIMnmbnOFo&t=1s and yet there is still an Attribute Error ...
1
vote
0
answers
288
views
How to parse javascript file like deleted-tweets.js to retrieve tweets
I have a 'deleted_tweets.js' file from my Twitter archive, but I'm having difficulty locating specific tweets within the file. The tweets are encoded in JavaScript, and I'm struggling to parse through ...
0
votes
1
answer
1k
views
Unable to use snscrape
I am trying to use snscrape to extract latest tweets from X, however this code is not working for me. AttributeError: 'FileFinder' object has no attribute 'find_module'
import snscrape.modules.twitter ...
0
votes
0
answers
48
views
How to generate tweets in python using twitter api?
I have the necessary imports and Twitter API credentials
auth = tweepy.OAuthHandler(API_KEY, API_KEY_SECRET)
auth.set_access_token(Access_token, Access_token_secret)
api = tweepy.API(auth)
#Define ...
-1
votes
1
answer
116
views
Tweet Every 30 Minutes
i have a bot to create tweets, and i would like to run it every 30 minutes.
so far i run it just for testing via Terminal like this: PS C:\Users\XXX> python "C:\Users\xxx\module1.py"
...
1
vote
0
answers
165
views
How to get twitter trends using python & tweepy, Visualization on top 10 trending topics?
Forbidden: 403 Forbidden
453 - 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 ...
0
votes
0
answers
204
views
Twitter Bot To Post Random Tweets on Twitter(X) AuthV2 from Node.js
I have a Node.js code which is working at present to post a Tweet, but I need it to post a random one from a list. I see there are a lot of examples of this from the previous API V1 of Twitter but it ...
0
votes
1
answer
289
views
Python tweepy create_tweet get created tweet's id
I'm creating my first twitter bot and have been successful in creating the tweet. Now I'm trying to get the tweet's id to add to an xml file. I'm able to get an uploaded video's id but having issues ...
1
vote
1
answer
36
views
Split words in Hive table
I'm new here
I am trying to do an analysis of tweets using Apache hive.
I am able to retrieve tweets in csv.file
Then I simply create a table
Create external table if not exists tweets3 (
id bigint,
...
0
votes
0
answers
21
views
Getting error while applying the RegexpTokenizer
from nltk.tokenize import RegexpTokenizer
tokenizer = RegexpTokenizer(r'w+')
dataset['text'] = dataset['text'].apply(tokenizer.tokenize)
dataset['text'].head()
GETTING THIS ERROR:
enter image ...
3
votes
1
answer
575
views
Unable to query Twitter API V2
I'm trying to query the Twitter API v2 with free research access via tweepy in Python and it throws me this error: "When authenticating requests to the Twitter API v2 endpoints, you must use keys ...
0
votes
1
answer
53
views
I am unable to retrieve tweets older than 7 days via twitter APIs
I have my Twitter developer researcher account, after creating apps in my account I am unable to scrap tweets older than 7 days using Twitter APIs
0
votes
1
answer
477
views
I can't use "rtweet" package in R
I am trying to setup the default authentication mechanism of the "rtweet" package. But i got this error:
"Error in httr::init_oauth1.0(endpoint, app, permission = permission, ...