Hi, welcome back.
In this video, we will complete our journey and and learning how to use Twitter if I was by son.
So we have received the Twitter account application approval.
We were signing a developer account.
Then create our app name, which will be based on their buy by some project and collect get Case Zen
and sublime text.
We will try to import thwe by Python library or module, but firstly we will save our BI file in a new
folder called Twitter Chappellet as Twitter.
Chambord.
That by then click save to save the file as Abai file or Pisin extension file, then we will check our
system which must be or shall be Pisin and the Views and Syntex, which will be also at Python or adjusted
to Piso import weepie as GW.
And we will build our project.
To run this line of code and we get an import error as we don't have to, we buy module and our Python
three, so we will install it using C and D or Terminal Emek, I will use CMD because my operating system
is when the sole purpose re install wi by.
And click enter to run the comment, which will take some time to run.
Then.
We now have to buy and installed in our bison's free version and can.
Run it, as you see, but it's important for our crew to run correctly, to install or upgrade the city
as followed by some Dot EXI and BEB and install, hyphen, hyphen, upgrade and run this comment.
This will upgrade by installing the old version and installing the new one, as you see, after we have
installed PIP successfully and upgraded it again.
Now we can started with a tweet by by cabbing.
Hello.
We could without the board could fly and then added to our sublime text from the documents of the web.
But before running this lines of code, we need to add the consumer and consumer secured and access
token and access token secured as a variable after the bold statement as the following consumer will
equal between two parentheses.
Also, the consumers take it will be equal between two parentheses or a value that represented the K,
the same for access token and access token secretase.
But the question here, how can I get these four values?
We can get these four values from the Twitter API, the following tools.
That Twitter app that I want to connect to our person could then click on the K icons will take us to
another screen that we will generate the API case and API seconds, which is the consumer and the consumer.
Secrett, I will copy this case by using the corporate icon and the left side of HK and best every K
in its place in our code as you see, then run our code.
I forget to add t w instead of twelve, then our code will run correctly and get the timeline tweets
of my account.
Now I can read all the tweets and the timeline of my account and the console.
As you see now I will add something.
A new user equal if I don't mean them.
Brene user details are then in a new line drawn between two parentheses, user name and also print user.
Dot the screen name, then Brent user dot followers underscore, count and build our project to return
the user name and user screen name and the number of followers in the console.
As you see now.
I will go to my account at Twitter to ensure of this information.
Tamarama will take Learning Academy at Tammar.
It's five five one zero five two nine one and also the whole world is ten.
All these information about methods and classes of Twitter API you will find and tweet by documentation's.
As you see, also we can.
Bent all the friend screen screenname, the following for friend and user got friends.
Massoud.
Brent between two, Brent, as his friend on the screen, underscored name.
Apprentices and after running this, could Etoile brand the screen?
Name, friends or friend's name as the following for friend and use, are those friends, MassArt brand
friends that name.
So in this lecture or video, we learn many things to do with Twitter API to create Twitter chat, both
by using the power of tweet by module or tweet by Python Library.
We can get the user details and the friend is Chowan.
And also we can get our every friend screen user name, as you see in the console at this point.
We reached the end of this lecture.
Hope you enjoyed this lecture and get all of that.
Thanks for being here and thanks for watching.
See you.
Next video.
And in the next video, we will complete how can add more functions to our Twitter Chappells.