Top Banner
Using the RESTful twitter’s API
8

Using the restful twitter’s api

Feb 09, 2017

Download

Internet

Idriss Neumann
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Using the restful twitter’s api

Using the RESTful twitter’s API

Page 2: Using the restful twitter’s api

❖➢➢➢➢

RESTful webservices overview

Page 3: Using the restful twitter’s api

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

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 6: Using the restful twitter’s api

Lightweight sample of use with PHP / CURL

Page 7: Using the restful twitter’s api

Lightweight sample of use with PHP / CURL

Here’s the result...

Page 8: Using the restful twitter’s api

Questions