SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
Twitter



      2011.05.28
iPhone
Twitter:SOOOOM


facebook page
http://www.facebook.com/ThumbsApps



            Twitter×
Twitter


 OAuth     xAuth


 Twitter
Public Timeline     Unnecessary
    User Timeline       Unnecessary

    Tweet               Necessary
    Mention             Necessary
    Follow / Unfollow   Necessary

    Search              Unnecessary
    Direct Message      *Necessary

•
Twitter

    •
                    BASIC   OAuth     xAuth

                            Web     Web +



    Web




•       Twitter   BASIC
Twitter
       OAuth

                                 Consumer key
                       App       Consumer secret
User




          ID / Pass                     ID / Pass
User                   Browser




                        App      Access Token
       Twitter                   Access Token secret
User
Twitter
            xAuth


           ID / Pass                Consumer key
                              App   Consumer secret
   User




          Twitter             App    Access Token
   User                              Access Token secret



• OAuth
•
xAuth

1. OAuth


2. xAuth            Twitter
  api@twitter.com


3. xAuth
1.                          1
     Twitter developers
      http://dev.twitter.com/
1.                    2
    1.Application Name:
    2.Description:
    3.Application Website:            URL

    4.Organization
    5.Application Type:           Client
    6.Callback URL:          Client

    7.Default Access type:   Read & Write
    8.Application Icon:

•
1.                            3
•
                       https://dev.twitter.com/apps/123456
    Application URL:
                                           id


    API Key:           Twitter


    Consumer key:          APIKey      1        1Key


    Consumer secret    Consumer Key


•
2.                                            1

    Televitter is the twitter client application
    for iPhone and iPad.


    Televitter is an application for sharing tweets
    about TV program.


    We need your appliance to use xAuth
    for post from my app.
    Please apply an app to use xAuth.

•
•
2.                                         2


    I Described a summary of the application
    under development.
    Please check the URL below .
    http://aplication_img_host_URL/


•

•                                       URL
PDF
         Application Overview: TSUBUEKI [Tweet about stations]
            We can tweet and retrieve the current stations information.

                                                                           If you have
                                                                       information of the
                                           Select the station           station, you can
                                            you want to get             tweet with hush
                   Select from                   current                 tag #selected
                 a prefecture list.           information.               station’s name




                                                                       We can get
                                           Show search result
                                                                   the current stations
                 You can find the
                                             #your selected            information
                                            station’s name by
                station nearest to
                  your location.            twitter search API   (delays , strikes , etc.
                                                                        by twitter.
                                                                       In real time.
                                                                      More easily .




   http://dl.dropbox.com/u/3379587/Application%20OverView_TSUBUEKI.pdf

•Dropbox            Public
2.                                        3

      My account is @televitter_info
      Application: Televitter
      http://twitter.com/oauth_clients/details/xxxxxx


•
•                                                       URL
•
• 3        1       xAuth
3.          Twitter
                XAuthTwitterEngine
         https://github.com/aral/XAuthTwitterEngine


✦Twitter


✦     Twitter



✦
3.
                                      xAuthTwitterEngine
MGTwitterEngine:                           Twitter


                   OAuth                                   Twitter
OAuthConsumer

                   Twitter                             Twitter
YAJL                         JSON                       JSON



                                    YAJL     MGTwitterEngine
JSON framework                      JSONframework
3.                                   1
XAuthTwitterEngineDemoViewController.h




           Consumer key / Consumer secret
3.   2
iPhoneアプリのTwitter連携

Mais conteúdo relacionado

Semelhante a iPhoneアプリのTwitter連携

ASFWS 2012 - Contourner les conditions d’utilisation et l’API du service Twit...
ASFWS 2012 - Contourner les conditions d’utilisation et l’API du service Twit...ASFWS 2012 - Contourner les conditions d’utilisation et l’API du service Twit...
ASFWS 2012 - Contourner les conditions d’utilisation et l’API du service Twit...
Cyber Security Alliance
 
Social Developers London - Twitter Cards Update
Social Developers London - Twitter Cards UpdateSocial Developers London - Twitter Cards Update
Social Developers London - Twitter Cards Update
Angus Fox
 

Semelhante a iPhoneアプリのTwitter連携 (20)

Mz twitter-1.1-sdl
Mz twitter-1.1-sdlMz twitter-1.1-sdl
Mz twitter-1.1-sdl
 
ASFWS 2012 - Contourner les conditions d’utilisation et l’API du service Twit...
ASFWS 2012 - Contourner les conditions d’utilisation et l’API du service Twit...ASFWS 2012 - Contourner les conditions d’utilisation et l’API du service Twit...
ASFWS 2012 - Contourner les conditions d’utilisation et l’API du service Twit...
 
Twitter4R OAuth
Twitter4R OAuthTwitter4R OAuth
Twitter4R OAuth
 
Social Developers London update for Twitter Developers
Social Developers London update for Twitter Developers Social Developers London update for Twitter Developers
Social Developers London update for Twitter Developers
 
Twet
TwetTwet
Twet
 
Twitter Update for Social Developers London - March 2013
Twitter Update for Social Developers London - March 2013Twitter Update for Social Developers London - March 2013
Twitter Update for Social Developers London - March 2013
 
Sentiment analysis on demonetisation
Sentiment analysis on demonetisationSentiment analysis on demonetisation
Sentiment analysis on demonetisation
 
Oauth 2.0
Oauth 2.0Oauth 2.0
Oauth 2.0
 
Extract Tweets From Multiple Twitter Accounts Simultaneously.pdf
Extract Tweets From Multiple Twitter Accounts Simultaneously.pdfExtract Tweets From Multiple Twitter Accounts Simultaneously.pdf
Extract Tweets From Multiple Twitter Accounts Simultaneously.pdf
 
Twitter API, Streaming and SharePoint 2013
Twitter API, Streaming and SharePoint 2013Twitter API, Streaming and SharePoint 2013
Twitter API, Streaming and SharePoint 2013
 
Twitter api
Twitter apiTwitter api
Twitter api
 
Python report on twitter sentiment analysis
Python report on twitter sentiment analysisPython report on twitter sentiment analysis
Python report on twitter sentiment analysis
 
Social Developers London - Twitter Cards Update
Social Developers London - Twitter Cards UpdateSocial Developers London - Twitter Cards Update
Social Developers London - Twitter Cards Update
 
README
READMEREADME
README
 
Collecting Twitter Data
Collecting Twitter DataCollecting Twitter Data
Collecting Twitter Data
 
Mz sdl-130917
Mz sdl-130917Mz sdl-130917
Mz sdl-130917
 
Using Twitter
Using TwitterUsing Twitter
Using Twitter
 
Secure Webservices
Secure WebservicesSecure Webservices
Secure Webservices
 
IRJET - Implementation of Twitter Sentimental Analysis According to Hash Tag
 IRJET - Implementation of Twitter Sentimental Analysis According to Hash Tag IRJET - Implementation of Twitter Sentimental Analysis According to Hash Tag
IRJET - Implementation of Twitter Sentimental Analysis According to Hash Tag
 
Social media analysis in R using twitter API
Social media analysis in R using twitter API Social media analysis in R using twitter API
Social media analysis in R using twitter API
 

iPhoneアプリのTwitter連携

  • 1. Twitter 2011.05.28 iPhone
  • 3. Twitter OAuth xAuth Twitter
  • 4. Public Timeline Unnecessary User Timeline Unnecessary Tweet Necessary Mention Necessary Follow / Unfollow Necessary Search Unnecessary Direct Message *Necessary •
  • 5. Twitter • BASIC OAuth xAuth Web Web + Web • Twitter BASIC
  • 6. Twitter OAuth Consumer key App Consumer secret User ID / Pass ID / Pass User Browser App Access Token Twitter Access Token secret User
  • 7. Twitter xAuth ID / Pass Consumer key App Consumer secret User Twitter App Access Token User Access Token secret • OAuth •
  • 8. xAuth 1. OAuth 2. xAuth Twitter api@twitter.com 3. xAuth
  • 9. 1. 1 Twitter developers http://dev.twitter.com/
  • 10. 1. 2 1.Application Name: 2.Description: 3.Application Website: URL 4.Organization 5.Application Type: Client 6.Callback URL: Client 7.Default Access type: Read & Write 8.Application Icon: •
  • 11. 1. 3 • https://dev.twitter.com/apps/123456 Application URL: id API Key: Twitter Consumer key: APIKey 1 1Key Consumer secret Consumer Key •
  • 12. 2. 1 Televitter is the twitter client application for iPhone and iPad. Televitter is an application for sharing tweets about TV program. We need your appliance to use xAuth for post from my app. Please apply an app to use xAuth. • •
  • 13. 2. 2 I Described a summary of the application under development. Please check the URL below . http://aplication_img_host_URL/ • • URL
  • 14. PDF Application Overview: TSUBUEKI [Tweet about stations] We can tweet and retrieve the current stations information. If you have information of the Select the station station, you can you want to get tweet with hush Select from current tag #selected a prefecture list. information. station’s name We can get Show search result the current stations You can find the #your selected information station’s name by station nearest to your location. twitter search API (delays , strikes , etc. by twitter. In real time. More easily . http://dl.dropbox.com/u/3379587/Application%20OverView_TSUBUEKI.pdf •Dropbox Public
  • 15. 2. 3 My account is @televitter_info Application: Televitter http://twitter.com/oauth_clients/details/xxxxxx • • URL • • 3 1 xAuth
  • 16. 3. Twitter XAuthTwitterEngine https://github.com/aral/XAuthTwitterEngine ✦Twitter ✦ Twitter ✦
  • 17. 3. xAuthTwitterEngine MGTwitterEngine: Twitter OAuth Twitter OAuthConsumer Twitter Twitter YAJL JSON JSON YAJL MGTwitterEngine JSON framework JSONframework
  • 18. 3. 1 XAuthTwitterEngineDemoViewController.h Consumer key / Consumer secret
  • 19. 3. 2