22-8-2018 - First commit for frontend and wrapper
23-8-2018 - As of currently unfortunately we are still waiting for twitter to approve my developer account so I may get access to the API to do the actual lifting and formating of the results. Please check back later this week or let me know if it is not needed anymore. More information https://www.zdnet.com/article/twitter-clamps-down-on-developer-access-to-apis/
26-8-2018 - Added ReactJS example and used a sample Tweet API request as a sample formatter.
27-8-2018 - API request is still not approved so used sample data string from twitter developer instead. the example is used in the reactJs version of the code.
Just clone the repository, rehost the script file on the server, run composer update to get the twitter wrapper and you are good to go.
composer update
Package contains two PHP scripts, one readme, one JS script and a composer dependency file.
a demo is hosted here
http://hirekai.com/tweet/tweet/twitter.php
http://hirekai.com/tweet/tweet-react/twitter.php (Using ReactJS).
This simple tool is built on PHP using bootstrap quickstart template, inline ReactJS, and a Twitter PHP API Wrapper by J7mbo, sources below:
https://getbootstrap.com/docs/4.0/getting-started/introduction/
https://developer.twitter.com/en/docs/developer-utilities/twitter-libraries.html
https://github.com/J7mbo/twitter-api-php
None