• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Twitter
 

Twitter

on

  • 519 views

 

Statistics

Views

Total Views
519
Views on SlideShare
225
Embed Views
294

Actions

Likes
0
Downloads
1
Comments
0

11 Embeds 294

http://bigdatastudent.blogspot.in 246
http://bigdatastudent.blogspot.com 26
http://www.feedspot.com 6
http://translate.googleusercontent.com 4
http://bigdatastudent.blogspot.de 3
http://bigdatastudent.blogspot.kr 3
http://bigdatastudent.blogspot.ca 2
http://bigdatastudent.blogspot.co.uk 1
http://bigdatastudent.blogspot.fr 1
http://bigdatastudent.blogspot.com.au 1
http://bigdatastudent.blogspot.nl 1
More...

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Twitter Twitter Presentation Transcript

    • Twitter APIBarri RajeshIntern @ IBM-ISL
    • May 10, 2013Content API types Twitter tweets flow Rest API Search API Stream API Authentication
    • May 10, 2013API Types There are actually three Twitter APIs.1)2) REST API3) Search API4) Stream API5)
    • May 10, 2013API features Rest API– Covers the basic Twitter functions– You can read your timeline and direct messages,– Tweet and retweet from the REST API,– Follow and unfollow other users, send direct messages (DMs),– Manipulate your lists, and so on.
    • May 10, 2013API features Search API:– Duplicates the Twitter search page .– It can do everything that the Twitter Advanced Search can do– Nearly all the Twitter monitoring tools depend on this Twitter search API. Streaming API:– The streaming API is read-only– Unlike the search API, the streaming API is not buffered through the searchdatabase.– There are more tweets available to users of the streaming API than there are tousers of the search API.
    • May 10, 2013Whats happening?
    • May 10, 2013Rest API Timelines• collections of Tweets, ordered with the most recent first Tweets• status updates with additional associated metadata direct messages• short, non-public messages sent between two users friends & followers• follow their interests on Twitter through both one-way and mutual followingrelationships Users• Users are at the center of everything Twitter: they follow, they favorite, andtweet & retweet. suggested users• Categorical organization of users that others may be interested to follow.
    • May 10, 2013 Favoriates• Users favorite tweets to give recognition to awesome tweets Lists• Collections of tweets, culled from a curated list of Twitter users. saved search• Allows users to save references to search criteria for reuse later. places & geo• These methods allow you to attach location data to tweets and discovertweets & locations. Trends• The Trends methods allow you to explore whats trending on Twitter. spam reporting• These methods are used to report user accounts as spam accounts.
    • May 10, 2013Search and Streaming APISearch API: Returns a collection of relevant Tweets matching a specified query.– Parameters: q,callback, geocode, lang, locale, page, result_type, rpp,show_user, until, since_id, max_id, include_entitiesStreaming API: Public stream– Public data flowing through Twitter User stream– Single-user streams, containing roughly all of the data corresponding with asingle users view of Twitter. Site stream– The multi-user version of user streams.
    • May 10, 2013Streaming API POST statuses/filter• follow• track• locations• delimited• stall_warnings GET statuses/sample• delimited• stall_warnings GET statuses/firehose• count
    • May 10, 2013Authentication Base– Username password– Its deprecated in all APIs except streaming API Oauth– Application-user authentication
    • May 10, 2013References[1] dev.twitter.com[2] http://borasky-research.net/2010/01/06/the-twitter-streaming-api-how-it-works-and-why-its-a-big-deal
    • May 10, 2013Thank you