Skip to main content

Questions tagged [twitter]

Twitter is a microblogging service that lets users post short "Tweets" of up to 280 characters. These can also be posted via its API.

twitter
1 vote
1 answer
21 views

Embed on web page a Twitter Video, just like a YT video

(Complete beginner here, fighting to assemble some web page.) If a "copy video address" in X (Twitter), I get something like: https://x.com/i/status/1814440131505598541 If I get the embed ...
Jada's user avatar
  • 13
0 votes
0 answers
10 views

I got tweepy.errors.Unauthorized: 401 Unauthorized when trying to post using tweepy==4.14.0

Am trying to create a simple twitter bot that will be able to post and get my dm events using tweepy, but i get "Unauthorized" every time i tried to post. Am using tweepy==4.14.0 and bellow ...
Jackson Bakari's user avatar
0 votes
0 answers
27 views

Twitter API v2 Authentication Error: 401 Unauthorized Despite Correct Keys & Tokens

I am trying to access the Twitter API v2 both through the API directly on Postman and Tweepy in Python on macOS, but I keep encountering a 401 Unauthorized error. Despite using what I believe to be ...
Diya Girish Kumar's user avatar
1 vote
1 answer
28 views

How to follow user on X?

My code: def follow_user(username): driver.get(f"https://x.com/{username}") time.sleep(2) follow = EC.element_to_be_clickable((By.XPATH, '//span[text()="Follow"]')) ...
Piotr Misiuda's user avatar
0 votes
0 answers
15 views

Twitter media upload endpoint returning 32 could not authenticate you

index.ts const oAuthRequestToken = await requestToken(); const authorizeURL = `https://api.twitter.com/oauth/authorize?oauth_token=${oAuthRequestToken.oauth_token}`; console.log("Please go ...
David's user avatar
  • 1
0 votes
0 answers
19 views

What can I do with a free X (Twitter) Developers account?

After running the code below, import tweepy # Your Twitter API credentials consumer_key = 'xxxxxxxxxxxxxxxxxxxx' # API Key consumer_secret = 'xxxxxxxxxxxxxxxxx' # API Key Secret bearer_token = '...
lanselibai's user avatar
  • 1,253
0 votes
0 answers
22 views

Is there any way of getting the total list of users Im following on twitter via Twitter api developer portal for free?

Title is pretty descriptive. Is there any way of getting the total list of users Im following on twitter via Twitter api developer portal for free? Im trying this after setting up my project and app ...
Sergiodela's user avatar
0 votes
0 answers
37 views

Get Some Tweets From Specific User On Twitter - Twitter API

I am a Udacity Student, And I have to do a project that gathers data from Twitter from a specific username. But every time I try to gather it the API gives me this error message. consumer_key = os....
Mohammed Zaky's user avatar
0 votes
1 answer
33 views

Tweepy search on X (Twitter) keeps returning 401 Unauthorized error

I'm trying to retrieve some sample recent tweets from X using Python's Tweepy package. I am authenticating my API call with API Key, API Key Secret, Access Token, and Access Token Secret generated ...
Ambar Nag's user avatar
-3 votes
0 answers
24 views

I have the basic tier on X developer. It allows me to retrieve tweets to my understanding however as I try retrieve tweets error is I need more access [duplicate]

This is the code and I input my keys which I get from X developer api_secret_key = 'YOUR_API_SECRET_KEY' access_token = 'YOUR_ACCESS_TOKEN' access_token_secret = '...
DavidJohnZ's user avatar
0 votes
1 answer
57 views

How to resolve this Python Snscrape error?

Why am I getting this error on the Snscrape? I have updated the Python and the Snscrape in the real time, both are updated. PS C:\Users\muzam\OneDrive\Desktop\Summer\project 1> python -u "c:\...
Muzamil Haider's user avatar
0 votes
1 answer
51 views

how to iterate over a list?

when i run the code, it goes to twitter and posts a tweet from the text list but after that it uses the same first one (test1) from the list and make a new tweet with it from selenium import ...
user23448952's user avatar
0 votes
0 answers
59 views

Twitter login error on mobile application (works fine on web)

We are facing an issue with Twitter login on our mobile application (both iOS and Android), though it works completely fine on web. Here are the errors we are getting: Class not found when ...
TamTam's user avatar
  • 1
0 votes
0 answers
37 views

Need help: can't connect X API to make.com scenario

I've tried to connect my X API to make.com and another service... and both of these have rejected been rejected with an error reading: "something went wrong" --> "You weren’t able to ...
Beata Tali Gold's user avatar
0 votes
0 answers
35 views

Syuzhet not accepting UTF-8 characters?

Morning all, I am trying to conduct sentiment analysis on a large Swedish Twitter dataset with a custom lexicon specifically for Swedish research. However, even if the text I am wanting to analyse and ...
radiationpsych's user avatar

15 30 50 per page
1
2 3 4 5
1676