So far this is the most in-depth video covering how to setup and access the API at the most basic level. The documentation site is so confusing and some vids that exist are much older and the UI has changed since then. So far, still good information. ty!
gettting thi error: 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 need a different access level
Thank you so much for this explanation. I am a student trying to learn postman for academic research. It would be a great assistance if you could clarify two of my simple doubts. (1) Do tweets include original tweets as well as replies to other tweets? (2) How can we collect retweets with quotes (comments) while excluding simple retweets?
Hi for 1. try this stackoverflow.com/a/68115718/1746774 2. Can use the endpoint: GET Retweeted by but this will give ids of all the accounts who have retweeted
Can you make an updated video because im getting a Client Forbidden error when I use the Bearer Token as the Auth Type I have the free plan. Can I not use v2/user lookup?
hello please i neet your help, in the single tweet request i get this error { "title": "Unauthorized", "type": "about:blank", "status": 401, "detail": "Unauthorized" }
@@Learn21 Nope, apparently there is an issue. I have added all variables to the environment correctly and still getting this error. I've seen many people with the same issue as well
@@aabhasparakh9660 Not really, because there is no solution apparently. Access to the Twitter API has been restricted and can only be accessed with a montly subscription (around 100$ a month or so)
is there a way to use the wait_on_rate_limit function in postman with API v2? I want to download ca 1 million tweets in the full-archive search so the application needs to make several requests automatically without stopping after one single request.
Bhai when i hit enter with tweet id and bearer token getting this error: 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 developer portal.
Yes Twitter has changed its pricing. Now only post tweet , delete tweet, user lookup are part of Free plan. Tweet lookup is part of basic plan -- starting at $100/month. Read more here : developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api
Good to learn this ...But how can i get latest tweet from any user or say watch new tweets from userand send data to webhook? Is there any documentation or video for this please help...
Sir if anyone twit and I want her twit in 1-2 second , so it is possible with api or not? For example Elon Musk make twit and I want newly twit in 1 second through api. Please tell me
Thank you so much for this i'm finally complete my twitter project really helpfull if using search tweet recent can i specify a specific date and specific location or this parameters is available only in search tweet all ?
Open Twitter API collection in postman, read the description section you will get all the details. Start date, end date, location are all query params in the search tweet API endpoint.
Getting this error in postman - 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. I have created developer account and created project in it also and stored bearer token. But still getting this error.
You can use the `media.fields` and `expansions` query params to get the url. . something like this .. api.twitter.com/2/users//tweets?expansions=attachments.media_keys&media.fields=url
@@aabhasparakh9660 Yes, the free membership is practically "crap", it has hardly any functions... If you want to use all their features, they force you to pay.
Hi, what is the function you would use to get 100 more tweets and 100 more...? I tried using the pagination token but then I only get 10 more only. Thank you!
Hello sir, I am trying to create a telegram bot, that is used to verify one Twitter account's followers The bot simply ask the person to follow one Twitter account and my bot will need to check whether that person really followed the Twitter account which the bot instructed to do but we are not getting any result with Twitter API Can you please guide us on how to know whether the one person followed a particular Twitter account or not with Twitter API
i am using free access of the twitter api. Is it possible to get the tweets from the api or is it mandatory to get basic subscription for getting the tweets beacuse i cant use the user lookup as it keeps giving 403 forbidden error
Thanks for this explaination. I have one doubt I am using tweet/count/recent and tweet/search/recent with same parameters but it’s giving me different count, what can be the reason. Quick help will really be appreciated query parameters for count: query_params_counts = {"query": "keyword -is:retweet lang:en", "granularity":"day", "start_time":"2022-05-09T00:00:00.000Z", "end_time":"2022-05-010T00:00:00.000Z" } for this count is coming: 1766 query_params_tweets = {"query":"keyword -is:retweet lang:en", "start_time":"", "end_time": "", "max_results": 100, "expansions": "author_id,attachments.media_keys,entities.mentions.username", "tweet.fields": "id,text,created_at,attachments,public_metrics", "user.fields": "id,name,username,created_at,description,profile_image_url,location,public_metrics,url", "place.fields": "full_name,id,country,country_code,geo,name,place_type", "media.fields": "media_key,type,url", "next_token": {} } for this count is: 1751
I checked for another query = "growth school"; counts are matching for both API calls(6). Maybe some issue with some tweets for your query. Pls, check with other queries.
So far this is the most in-depth video covering how to setup and access the API at the most basic level. The documentation site is so confusing and some vids that exist are much older and the UI has changed since then. So far, still good information. ty!
gettting thi error: 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 need a different access level
It would have been more helpful if u have covered POST requests as well.
Thank you so much for this explanation. I am a student trying to learn postman for academic research. It would be a great assistance if you could clarify two of my simple doubts. (1) Do tweets include original tweets as well as replies to other tweets? (2) How can we collect retweets with quotes (comments) while excluding simple retweets?
Hi for
1. try this stackoverflow.com/a/68115718/1746774
2. Can use the endpoint: GET Retweeted by but this will give ids of all the accounts who have retweeted
within 20 Minutes, I was able to understand the basics of postman and twitter API v2. Thank you very much sir!
Can you make an updated video because im getting a Client Forbidden error when I use the Bearer Token as the Auth Type
I have the free plan. Can I not use v2/user lookup?
Thank you for your explanations, but do you have any idea about tweeting using this V2 twitter api?
Had you integrated the post api..?
This did not work for me, it still says "When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens..."
Same. I wonder if the rules have changed since a year ago when the video was made.
Oh is it . Let me check it . Maybe Twitter has changed their API.
@@kenirwin5538 I am stuck at the same spot.
same problem applies for me as well.
@@hilaloruc607 It seems that we need to pay for the service otherwise it won't work.
The service is not free anymore
A year after and your video is still helpful! Thnaks fir this great video!
hello please i neet your help, in the single tweet request i get this error {
"title": "Unauthorized",
"type": "about:blank",
"status": 401,
"detail": "Unauthorized"
}
Hi Aya, seems like API key error . Please check your API-key.
@@Learn21 Nope, apparently there is an issue. I have added all variables to the environment correctly and still getting this error. I've seen many people with the same issue as well
@@iBullseye did you get the solution?
@@aabhasparakh9660 Not really, because there is no solution apparently. Access to the Twitter API has been restricted and can only be accessed with a montly subscription (around 100$ a month or so)
Please if i want to do a tweet count but within a country
Please make a video on how to connect Twitter Ads API to postman and start using it
Try reading the documentation of Twitter ads api . It should be easy to integrate.
is there a way to use the wait_on_rate_limit function in postman with API v2? I want to download ca 1 million tweets in the full-archive search so the application needs to make several requests automatically without stopping after one single request.
use twint-fork library it's no limit by downloading tweets
Thanks for the informative video. Can you please share how we can use 'filtered stream' option ?
Bhai when i hit enter with tweet id and bearer token getting this error: 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 developer portal.
Please make a video on “How to use Twitter developer account for beginners”
Please make video fast.
Thanks
Very good explaination bro, i can uderstan basic use of Twitter API.
Cheers
Thank you so much for share this information, i'm a dummy for Post man and Twitter API v2 and you help me a lot!
Hii, i have an issue , my collection have a lock sign and is not ruinng in postman .Always shows some authorization issue
Can we use the tweet lookup in the free version of API? To me it seemed one can only do manage tweet and user look up. Pls correct me
Yes Twitter has changed its pricing. Now only post tweet , delete tweet, user lookup are part of Free plan. Tweet lookup is part of basic plan -- starting at $100/month. Read more here : developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api
Thank you!
How to tweet a local image from my website to my twitter wall?
Do we really need developer account for that?
can you advise, how we can write the API reply from twitter to a DB
Hi Murtaza, you can call the API from your server and store the response in your DB.
Good to learn this ...But how can i get latest tweet from any user or say watch new tweets from userand send data to webhook? Is there any documentation or video for this please help...
This seems like an enterprise feature : developer.twitter.com/en/docs/twitter-api/enterprise/account-activity-api/guides/getting-started-with-webhooks
@@Learn21 Is it available for essential users ?
Sir if anyone twit and I want her twit in 1-2 second , so it is possible with api or not? For example Elon Musk make twit and I want newly twit in 1 second through api. Please tell me
Thanks for easy explanation..cud u also make video for text analytics of bunch of tweets
is there a way to look for users based on a certain country?
Thank you so much for this i'm finally complete my twitter project really helpfull if using search tweet recent can i specify a specific date and specific location or this parameters is available only in search tweet all ?
Open Twitter API collection in postman, read the description section you will get all the details. Start date, end date, location are all query params in the search tweet API endpoint.
Very helpful. Though I was hoping you would go into the steams.
Getting this error in postman - 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. I have created developer account and created project in it also and stored bearer token. But still getting this error.
was the error resolved?
Authorization doesn't work. I used the bearer token as you said but I was returned a 403 with reason client-not-enrolled
I am also having the same problem.
@@iBullseye same
same issue , any fix ?
Same issue
The same issue, looks like it is not free anymore.
Hi, what is the function you would use to get image url from tweets using user tweets timeline by ID
You can use the `media.fields` and `expansions` query params to get the url. . something like this .. api.twitter.com/2/users//tweets?expansions=attachments.media_keys&media.fields=url
People, you have to pay for the minimum accesses, the minimum cost is 100 dollars per month, the pro subscription is 5000 per month, NOTHING.
so with free access you cannot get any of these?
@@aabhasparakh9660 Yes, the free membership is practically "crap", it has hardly any functions...
If you want to use all their features, they force you to pay.
Nice one! subscribed!
Hi, what is the function you would use to get 100 more tweets and 100 more...? I tried using the pagination token but then I only get 10 more only.
Thank you!
You can use the query param `max_results` to specify how many latest tweets you want, also use query param `pagination_token` to get different pages.
@@Learn21 Thank you for the help!
? do you have it with PHP
Very useful. Thank you!
can we extract twwets acoording to time
I have free access... But this v2 isnt working. its throwing a 403 error
Can somebody help?
Hi.. 403 error means access is not available. Please check if your account/api key has been approved by Twitter and try again.
how to check if my api is v1 or v2?
Hi Akshay, version is generally part of the URL (endpoint) of API.
nice. thanks, bruv
Hello sir,
I am trying to create a telegram bot, that is used to verify one Twitter account's followers
The bot simply ask the person to follow one Twitter account and my bot will need to check whether that person really followed the Twitter account which the bot instructed to do
but we are not getting any result with Twitter API
Can you please guide us on how to know whether the one person followed a particular Twitter account or not with Twitter API
You can check the user ids the user is following using the following API, api.twitter.com/2/users//following
How to collect tweets ?
i am using free access of the twitter api. Is it possible to get the tweets from the api or is it mandatory to get basic subscription for getting the tweets beacuse i cant use the user lookup as it keeps giving 403 forbidden error
I am also getting same. Not sure if you get the solution?
Is there a way to get all my tweets?@@easydrafting
how i get email of user from api
sir need small help ?
Nice
How do you find a user by name?
You can use, User by username API: api.twitter.com/2/users/by/username/
@@Learn21 that’s by username. I’m trying to query users by name. Username = twitter handle … name = profile name
Nice 👍👍👍👍
9
Thanks for this explaination. I have one doubt I am using tweet/count/recent and tweet/search/recent with same parameters but it’s giving me different count, what can be the reason.
Quick help will really be appreciated
query parameters for count:
query_params_counts = {"query": "keyword -is:retweet lang:en",
"granularity":"day",
"start_time":"2022-05-09T00:00:00.000Z",
"end_time":"2022-05-010T00:00:00.000Z"
}
for this count is coming: 1766
query_params_tweets = {"query":"keyword -is:retweet lang:en",
"start_time":"",
"end_time": "",
"max_results": 100,
"expansions": "author_id,attachments.media_keys,entities.mentions.username",
"tweet.fields": "id,text,created_at,attachments,public_metrics",
"user.fields": "id,name,username,created_at,description,profile_image_url,location,public_metrics,url",
"place.fields": "full_name,id,country,country_code,geo,name,place_type",
"media.fields": "media_key,type,url",
"next_token": {}
}
for this count is: 1751
I checked for another query = "growth school"; counts are matching for both API calls(6). Maybe some issue with some tweets for your query. Pls, check with other queries.
Nice