Using the restful twitter’s api
-
Upload
idriss-neumann -
Category
Internet
-
view
94 -
download
1
Transcript of Using the restful twitter’s api
![Page 1: Using the restful twitter’s api](https://reader031.fdocuments.in/reader031/viewer/2022021918/589b58eb1a28ab606f8b502f/html5/thumbnails/1.jpg)
Using the RESTful twitter’s API
![Page 2: Using the restful twitter’s api](https://reader031.fdocuments.in/reader031/viewer/2022021918/589b58eb1a28ab606f8b502f/html5/thumbnails/2.jpg)
❖
❖➢➢➢➢
❖
RESTful webservices overview
![Page 3: Using the restful twitter’s api](https://reader031.fdocuments.in/reader031/viewer/2022021918/589b58eb1a28ab606f8b502f/html5/thumbnails/3.jpg)
Getting an authentication keyhttps://apps.twitter.com/
Application settingsKeep the "API secret" a secret. This key should never be human-readable in your application.
API key : KFjRWyt5rP4Nt7RVhMJuIbJ67
API secret : bupHFhDIv4Mg0kJeDyjSyZdTiifxQ49IsfjIvOUHTEa6Bivg91
Access level : Read-only (modify app permissions)
Owner : idriss_neumann
Owner ID : 1166021798
![Page 4: Using the restful twitter’s api](https://reader031.fdocuments.in/reader031/viewer/2022021918/589b58eb1a28ab606f8b502f/html5/thumbnails/4.jpg)
Your access tokenThis access token can be used to make API requests on your own account's behalf. Do not share your access token secret with
anyone.
Access token : 1166021798-un86dhE3EJJ3HXa975lBVpAFovLS5aq1YMHY3bH
Access token secret : UOvHvCfoJoVTODWeTuaI5qcMhgcf2gWPpYqQ7lUuvhtSZ
Access level : Read-only
Owner : idriss_neumann
Owner ID : 1166021798
Getting an access token
![Page 5: Using the restful twitter’s api](https://reader031.fdocuments.in/reader031/viewer/2022021918/589b58eb1a28ab606f8b502f/html5/thumbnails/5.jpg)
Example of webservices❖❖
➢➢
❖
![Page 6: Using the restful twitter’s api](https://reader031.fdocuments.in/reader031/viewer/2022021918/589b58eb1a28ab606f8b502f/html5/thumbnails/6.jpg)
Lightweight sample of use with PHP / CURL
![Page 7: Using the restful twitter’s api](https://reader031.fdocuments.in/reader031/viewer/2022021918/589b58eb1a28ab606f8b502f/html5/thumbnails/7.jpg)
Lightweight sample of use with PHP / CURL
Here’s the result...
![Page 8: Using the restful twitter’s api](https://reader031.fdocuments.in/reader031/viewer/2022021918/589b58eb1a28ab606f8b502f/html5/thumbnails/8.jpg)
Questions