Questions tagged [twitter-api-v1]
35 questions
2
votes
0 answers
Getting error while trying to use twitter 1.1 search
I'm trying to get tweets using twitter's standard search API, this was working fine three weeks ago and now I'm using twitter-api-client 1.3.7 and getting this:
{
"statusCode": 403,
"data": "{\"errors\":[{\"message\":\"You currently have…

cortex
- 31
- 2
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
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
1 answer
Get tweets from topics section with Twitter API
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 picture shows the topics I followed. I need to…

hilal saim
- 23
- 4
2
votes
0 answers
Twitter DM API not returning all messages
I’m calling the 1.1 direct messages events list endpoint as an authenticated user, I’ve send a few messages to the accompanying account from two different other twitter accounts. However I’m only getting the message_create results for the messages…

Matthijn
- 3,126
- 9
- 46
- 69
1
vote
0 answers
Is it possible to still use rtweet R package to retrieve tweets from Twitter
I have made an app that retrieves tweets using the function rweet::get_timeline (in the rtweet package).
The app suddenly stopped working with the following error message:
Warning: Error in : Twitter API failed [403]. Check error message…

madsR
- 95
- 6
1
vote
0 answers
How to tweet a video with hashtags and emoji using Oauth1?
Trying to post a tweet with video in hindi language with hashtags and emoji using v1.1 update.json endpoint of twitter api. Video has been uploaded successfully media id is generated against it and video is ready to be posted, but when I am posting…

Mridul Gautam
- 11
- 2
1
vote
1 answer
Twitter API Chunked Upload INIT authentication error (code 32)
Im having trouble getting the INIT post to https://upload.twitter.com/1.1/media/upload.json to authenticate. It's returning "message":"Could not authenticate you","code":32
I have the simple upload for images working fine, and can publish messages…

DorrisDormouse
- 49
- 5
0
votes
0 answers
Rails Twitter API v2 Fetching Tweets Issue
I'm trying to fetch tweets using the Twitter API v2 within my Ruby on Rails application, but I'm encountering issues with the implementation. I've followed the provided guides and examples, but the code isn't working as expected. I've verified my…

Demo
- 1
- 1
0
votes
0 answers
Laravel : Twitter API video upload issue: Video GOP is too large. Largest number of frames allowed in one GOP: 512
i'm getting an issue while posting video through laravel. i have consider all the twitter video guideline but some particular video is not uploading and showing error like 'Video GOP is too large. Largest number of frames allowed in one GOP: 512'
i…

Vikram parmar
- 34
- 4
0
votes
0 answers
Twitter: ui-metrics from javascript file
I am trying to build my own Twitter Bot, but I'm stuck at the point where it needs to press a button to continue to the next page. My Page is twitter.com/account/access and when the account is locked it will show javascript on account/access?js=1…

hashem baddad
- 49
- 7
0
votes
1 answer
TweepyException: Failed to parse JSON payload: Expecting value: line 1 column 1 (char 0)
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 = "*"
consumer_secret = "*"
access_key = "*"
access_secret…

Harsh Bhatnagar
- 1
- 1
0
votes
0 answers
Unable to post a tweet with PHP code with "errors":[{"code":32,"message":"Could not authenticate you."}]
This is my code
// Replace these with your actual keys and tokens
$consumer_key = 'consumer_key';
$consumer_secret = 'consumer_secret';
$access_token = 'access_token';
$access_token_secret = 'access_token_secret';
// Your tweet…

vimuth
- 5,064
- 33
- 79
- 116
0
votes
1 answer
How to live stream video on twitter
We are working on platform where we allow user to live-stream on major platforms. We need to integrate twitter in our platform to stream live on twitter.
currently we are creating source and broadcast by making post call to /source and /broadcast…

IMdevs
- 31
- 1
- 4
0
votes
0 answers
Why cant I follow using twitter api free version?
According to https://developer.twitter.com/en/docs/twitter-api/v1 , twitter follow is allowed on the free version.
This my code :
def follow_user(api, username): try: api.create_friendship(screen_name=username) print(f'Successfully followed…