Twitter API Tutorial: How to Create and Get Tweets Using PHP and the Twitter API
Vložit
- čas přidán 23. 07. 2024
- In this Twitter API tutorial, you'll learn how to create a Twitter App, connect to the API, send a tweet and get your tweets... all through the Twitter API and PHP.
You can learn more about Rob's Developer course here:
www.johnmorrisonline.com/cwdc
You can get the source code for this video on Patreon here:
www.johnmorrisonline.com/patreon
~-~~-~~~-~~-~
Please watch: "Ryan Carson: How to Get an IT Job WITHOUT a College Degree"
• Ryan Carson: How to Ge...
~-~~-~~~-~~-~
#php #webdev - Jak na to + styl
An excellent and easy-to-follow tutorial. Thanks!
Thanks a ton, friend! This was exactly what I was looking for, and it works perfectly for the site I'm creating. Cheers!
Thanks john morris! great stuff, I started learning about API'S this week, this is awesome.
Im A Web developer interning at a company so this will help alot!
+Juan Jimenez perfect timing!
Juan Jimenez let's link Bro.. vincemat01@gmail.com
Cloud 9 is similar to something like Sublime Text? Is there a great benefit to using the cloud for this versus just having it on one's local machine?
I usually dont comment , but this video was so simple and so easy that i made me say "thanks for the efforts man "
Hi john thank you for the learn
How to use curl to get a specific data? like getting title of a file from any website ...
Works fine! Thank you
Are there any new restrictions accessing data after the Facebook 2018 case?
i just want when i submit a form from my website .. the content appear on my page on tweeter
What is the code for "First tweet then get access to my website"? That is give access/reward when I hear a tweet from a user!
It’s giving me a fatal error in twitterouath/src/TwitterOAuth.php on line 545
how to search only posts with given hashtag?
Hi John, what's going on? Why you don't produce CZcams videos. I miss you !)
what if I wanted a user to write their tweet without changing the source code?
Nice, Im interested in a follow-up app tutorial which gets the most interacted with or faved or retweeted tweets from your followers/ppl ur following.....is this feasible?.. sort of like what favstar.fm does
This doesnt seem to work for me.. blank 500 error page
Hi! great tutorial. It works for me. I've been using this tutorials and reading the docs but I just want to know do we can get tweets from several users?? I mean like 7 companies feeds??
it's possible ?
So we need to specify a domain name.
Does this mean it hooks to our domain name?
Could I use firebase for such a thing? Moreover is it effective?
How to do this for just a client side project?
nice work
I want to dive into Growth Hacking a little bit and want to scrape a users followers with this. But I have a question and maybe one of you guys had experienced this scenario. I am limited by the APIs calls per 15mins. But no problem so far, because I can set a key and continue scraping later. But what if I am scraping a "big player" that gets new followers while I am scraping and waiting and scraping and so on? Will this mess my Schedule up? Is there a smart way to scrape users followers, even when they have hundreds of thousands of followers?
Thank you for the help, your video helped me a lot when I started with Twitter API. Great work!
i need help in creating twitter developer account
How do you plan to use this?
Denzell Loria have you done it yet? Would love to hear how it went
@@randomgaingvidsduringlockdown I would like to know more. Kindly reply
to send tweets via elmer's smart glue
Hi, so do we require any online website or we can do from our local server
I got it to work on localhost.
how can we beautify the result?
Great effort!! Js a beginner here
+Real Madrid Fantasy noooob! :)
How can I make this only show my tweets?
Hello! Hope you had figured it out already, but anyways, i think you can use something like this:
foreach($statuses as $key=>$tweet){
if($statuses[$key]->user->screen_name != "yourName"){
echo $statuses[$key]->text."";
}
}
The name don't need the "@" at the beginning.
stdClass Object ( [errors] => Array ( [0] => stdClass Object ( [message] => Sorry, that page does not exist [code] => 34 ) ) )
this error is coming after removing spaces everything
It doesn't show anything and doesn't work
For example
I want to tweet and only my freinds can see it for parents it will be invisible
Do you understood what IAM trying to say?
Hi won't able to find you online jhonmorseonline.co/Paterson I need the HTML link please
wtf that setuppp
what setup ? i dont see anything unusual
Fatal error: Uncaught exception 'Abraham\TwitterOAuth\TwitterOAuthException' with message 'Operation timed out after 5000 milliseconds with 0 bytes received' in C:\xampp\htdocs\crawling\twitteroauth\src\TwitterOAuth.php:505 Stack trace: #0 C:\xampp\htdocs\crawling\twitteroauth\src\TwitterOAuth.php(422): Abraham\TwitterOAuth\TwitterOAuth->request('api.twi...', 'GET', 'Authorization: ...', Array) #1 C:\xampp\htdocs\crawling\twitteroauth\src\TwitterOAuth.php(374): Abraham\TwitterOAuth\TwitterOAuth->oAuthRequest('api.twi...', 'GET', Array) #2 C:\xampp\htdocs\crawling\twitteroauth\src\TwitterOAuth.php(356): Abraham\TwitterOAuth\TwitterOAuth->makeRequests('api.twi...', 'GET', Array) #3 C:\xampp\htdocs\crawling\twitteroauth\src\TwitterOAuth.php(209): Abraham\TwitterOAuth\TwitterOAuth->http('GET', 'api.twi...', 'account/verify_...', Array) #4 C:\xampp\htdocs\crawling\index.php(15): Abraham\TwitterOAuth\TwitterOAuth->get('account/verify_...') #5 {main} thrown in C:\xampp\htdocs\crawling\twitteroauth\src\TwitterOAuth.php on line 505
how to solve this problem?
This process is no longer valid unfortunately. Now one has to apply for a developer account just to access your own Twitter accounts tokens, which is fine to an extent to prevent malicious bots. The first response came 3 weeks after the initial application. Why can't it just be as simple as a few "captchas" or the like.
We have provided our "use case" several times and the response continues to be - "not enough information". All we want to do is automatically tweet images generated via scripts (twice a day) and somehow that is not enough info to get access to one's own Twitter tokens. And apps.twitter.com will "soon" be "retired" - good luck to those already using it. They want ridiculously in-depth details on everything, including stuff that we do not plan to do initially but might want to do in the future - how in the world do you give detail on that. Process is now ridiculous in my opinion.
Maybe you can create a new Twitter account and test the developer application process because we are not winning and cannot figure out what more they want.
I'm struggling with the same problem. :( Did you get access to those data on twitter successfully?
wtf you could just put the code
Try best twitter tool tweetattackspro whitehatbox.com/BBS/index?auid=16881