using the restful twitter’s api

8
Using the RESTful twitter’s API

Upload: idriss-neumann

Post on 09-Feb-2017

90 views

Category:

Internet


1 download

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