Get your Twitter™s Tweet as RSS and JSON with New Twitter API version 2.0 with custom own application. This is an update to our previous guide with old API. For reference, you can check our old article – Get your Twitter™s tweet as RSS feed and JSON™s url plus widget codes, however except the idea, the exact method will not work. Easiest way to embed tweet right now will be the way we described in our previous guide – Twitter Card Embed Options in WordPress.
Get your Twitter™s Tweet as RSS and JSON with New Twitter API : Basics of the Basics
So, how to get your Twitter™s Tweet as RSS and JSON with this new Twitter API ? You obviously know something about API or Application programming interface. Also we wrote about a free App for RESTful API Testing. These are important four links which you actually can use for the rest of the thing.
Get your Twitter™s Tweet as RSS and JSON with New Twitter API
It is quite obvious that the old method will return this error :
You can check with that RESTful API Testing Tool.Advertisement
So what we can do ? Thankfully there is a already developed good resource that is more specific, more flexible. Here is the repository :
Actually that setup part is written quite elaborately :
So, actually you need to :
- Create a Twitter Developer Profile (if you do not have)
- Create a New App there
- Upload the folders / files (the functions you want)
- Open the intended PHP file in FTP’s Editor or you can edit and upload
To give you an example :
In the above case, which is a part of /tweetledee/userrss.php file, you understand that; you have to the require arguments – that means they are needed files (like typical WordPress Plugin), for example :
It will be an understatement if we say, just upload one needed file. You basically must have to upload that tldlib folder and fill the proper fields. So, within your domain, now you actually can use the RSS or JSON format. Now you can actually use any method to embed the Tweet or any Twitter thing. The basic thing is becoming embedding the thing in a roundabout way because Twitter is giving you lot of options to embed. This guide is important those who can not embed the official things or may be do not want to use.