Suche senden
Hochladen
Introduction to Messenger APIs
•
0 gefällt mir
•
1,211 views
V
vivekvik
Folgen
Introduction to Messenger APIs at Yahoo! Open Hack Europe 2011
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 12
Empfohlen
The in Crowd
The in Crowd
Nicole Wyche
UserCentric Identity based Service Invocation
UserCentric Identity based Service Invocation
guestd5dde6
Single-Page-Application & REST security
Single-Page-Application & REST security
Igor Bossenko
HTTP Basics
HTTP Basics
sanjoysanyal
Rest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API Security
Mohammed Fazuluddin
Apitesting.pptx
Apitesting.pptx
NamanVerma88
DIWD Concordia
DIWD Concordia
Paul Madsen
Web Service
Web Service
Ashwani kumar
Empfohlen
The in Crowd
The in Crowd
Nicole Wyche
UserCentric Identity based Service Invocation
UserCentric Identity based Service Invocation
guestd5dde6
Single-Page-Application & REST security
Single-Page-Application & REST security
Igor Bossenko
HTTP Basics
HTTP Basics
sanjoysanyal
Rest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API Security
Mohammed Fazuluddin
Apitesting.pptx
Apitesting.pptx
NamanVerma88
DIWD Concordia
DIWD Concordia
Paul Madsen
Web Service
Web Service
Ashwani kumar
Y! messenger API - Yahoo! Bangalore OpenHackday
Y! messenger API - Yahoo! Bangalore OpenHackday
Jayasurian Makkoth
Rest http basics
Rest http basics
Suresh Madhra
Mobile Application Security - Broken Authentication & Management
Mobile Application Security - Broken Authentication & Management
Barrel Software
A A A
A A A
Cristian Vat
Dial2Do : API Experience
Dial2Do : API Experience
Sean O'Sullivan
O auth with facebook and google using .net
O auth with facebook and google using .net
Sathyaish Chakravarthy
Salesforce Integration
Salesforce Integration
Er. Prashant Veer Singh
Getting Started with API Security Testing
Getting Started with API Security Testing
SmartBear
RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座
Li Yi
RESTful services
RESTful services
gouthamrv
Exploring the System.Net namespace
Exploring the System.Net namespace
V Sanchez
Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014
Navaneethan Naveen
A2 from soap to rest
A2 from soap to rest
Arnaud Bouchez
Api Testing.pdf
Api Testing.pdf
JitendraYadav351971
Azure for SharePoint Developers - Workshop - Part 4: Bots
Azure for SharePoint Developers - Workshop - Part 4: Bots
Bob German
Creating Great REST and gRPC API Experiences (in Swift)
Creating Great REST and gRPC API Experiences (in Swift)
Tim Burks
Sending mail,web services
Sending mail,web services
Devang Patel
Session4-Authentication
Session4-Authentication
zakieh alizadeh
Facebook data breach and OAuth2
Facebook data breach and OAuth2
Leonard Moustacchis
Ch08 Authentication
Ch08 Authentication
Information Technology
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Zilliz
Weitere ähnliche Inhalte
Ähnlich wie Introduction to Messenger APIs
Y! messenger API - Yahoo! Bangalore OpenHackday
Y! messenger API - Yahoo! Bangalore OpenHackday
Jayasurian Makkoth
Rest http basics
Rest http basics
Suresh Madhra
Mobile Application Security - Broken Authentication & Management
Mobile Application Security - Broken Authentication & Management
Barrel Software
A A A
A A A
Cristian Vat
Dial2Do : API Experience
Dial2Do : API Experience
Sean O'Sullivan
O auth with facebook and google using .net
O auth with facebook and google using .net
Sathyaish Chakravarthy
Salesforce Integration
Salesforce Integration
Er. Prashant Veer Singh
Getting Started with API Security Testing
Getting Started with API Security Testing
SmartBear
RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座
Li Yi
RESTful services
RESTful services
gouthamrv
Exploring the System.Net namespace
Exploring the System.Net namespace
V Sanchez
Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014
Navaneethan Naveen
A2 from soap to rest
A2 from soap to rest
Arnaud Bouchez
Api Testing.pdf
Api Testing.pdf
JitendraYadav351971
Azure for SharePoint Developers - Workshop - Part 4: Bots
Azure for SharePoint Developers - Workshop - Part 4: Bots
Bob German
Creating Great REST and gRPC API Experiences (in Swift)
Creating Great REST and gRPC API Experiences (in Swift)
Tim Burks
Sending mail,web services
Sending mail,web services
Devang Patel
Session4-Authentication
Session4-Authentication
zakieh alizadeh
Facebook data breach and OAuth2
Facebook data breach and OAuth2
Leonard Moustacchis
Ch08 Authentication
Ch08 Authentication
Information Technology
Ähnlich wie Introduction to Messenger APIs
(20)
Y! messenger API - Yahoo! Bangalore OpenHackday
Y! messenger API - Yahoo! Bangalore OpenHackday
Rest http basics
Rest http basics
Mobile Application Security - Broken Authentication & Management
Mobile Application Security - Broken Authentication & Management
A A A
A A A
Dial2Do : API Experience
Dial2Do : API Experience
O auth with facebook and google using .net
O auth with facebook and google using .net
Salesforce Integration
Salesforce Integration
Getting Started with API Security Testing
Getting Started with API Security Testing
RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座
RESTful services
RESTful services
Exploring the System.Net namespace
Exploring the System.Net namespace
Http request&response by Vignesh 15 MAR 2014
Http request&response by Vignesh 15 MAR 2014
A2 from soap to rest
A2 from soap to rest
Api Testing.pdf
Api Testing.pdf
Azure for SharePoint Developers - Workshop - Part 4: Bots
Azure for SharePoint Developers - Workshop - Part 4: Bots
Creating Great REST and gRPC API Experiences (in Swift)
Creating Great REST and gRPC API Experiences (in Swift)
Sending mail,web services
Sending mail,web services
Session4-Authentication
Session4-Authentication
Facebook data breach and OAuth2
Facebook data breach and OAuth2
Ch08 Authentication
Ch08 Authentication
Kürzlich hochgeladen
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Zilliz
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Memoori
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Manik S Magar
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Fwdays
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Fwdays
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
charlottematthew16
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
Kürzlich hochgeladen
(20)
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Introduction to Messenger APIs
1.
2.
3.
URIs, URI parameters,
and URL encoding
4.
Request / Response
Headers
5.
HTTP content
6.
RESTful
7.
APIs use HTTP
GET, POST, and the less common PUT, DELETE
8.
Override using HTTP
POST and URI parameter “_method=[put,delete]”
9.
JSON
10.
No XML support
11.
12.
Direct Oauth
13.
Consumer key must
have read/write access for Y! Messenger
14.
Programmatic authentication
15.
No browser
16.
Other mobile integration
friendly optimizations
17.
Accuracy of timestamp
restriction is relaxed if you use PLAINTEXT oauth signature
18.
19.
Client to Server
communication (typically user actions)
20.
Send an instant
message
21.
Login into messenger
22.
Server to Client
communication (… but client initiated)
23.
Someone send you
an instant message
24.
25.
Login (POST /session)
26.
Dynamic capabilities (mailAlerts/fileXfer/buzz/smiley)
per login session
27.
Supply presence information
at login
28.
Get back the
contact or group list in the response
29.
Look for the
URI parameter ‘fieldsBuddyList’ or ‘fieldsGroupList’
30.
Logout (DELETE /session)
31.
Keepalive (PUT /session/keepalive)
32.
Client heartbeat
33.
Presence Management
34.
Update your presence
information (PUT /presence)
35.
State (available, busy,
idle, invisible)
36.
37.
Instant Message (POST
/message/{network}/{id})
38.
No Interop (msn/hotmail/etc)
39.
Contact/Group Management
40.
Fetch your contact
or group list
41.
Now supports fetching
a subset of your AddressBook data
42.
Add a contact
(PUT /group/{groupname}/contact/…)
43.
44.
An event targeted
to a logged in session
45.
Most common notification
types
46.
message
47.
Typically an incoming
instant message
48.
buddyInfo
49.
Information about a
contact that just logged into messenger
50.
Information about contacts
online when you first login
51.
buddyStatus
52.
A buddy updated
their presence information (state/custom message)
53.
logoff
54.
A buddy went
offline
55.
buddyAuthorize
56.
Someone is trying
to add you to their buddy list
57.
58.
All notifications have
a sequence number unique to the session
59.
Incremental integer
60.
Unlikely, but design
for skips in the sequence counter
61.
Design to be
able to skip unknown notification types
62.
Retrieving Notifications
63.
Periodic Polling
64.
Provide start sequence
number and optional count
65.
Limited to under
once every 5-10 seconds
66.
Does not support
persistent connections
67.
Comet Style Push
(Long Poll)
68.
Provide start sequence
number and optional idleTimeout
69.
Expected that client
will always maintain an available long poll
70.
71.
Send and Receive
files
72.
Remember to indicate
‘fileXfer’ clientCapability at login
73.
Display Images
74.
Upload and update
your custom display image
75.
76.
Login (POST /session)
77.
Request for groups
list in the response
78.
Look at URI
parameter ‘fieldsGroupList’
79.
Information about your
buddies
80.
Don’t request for
information using Group or Contact List Management APIs
81.
Wait for buddyInfo
notifications for all online buddies
82.
Automatically also subscribed
for delta notifications (buddyStatus/logoff/etc)
83.
Triggers any offline
messages received
84.
Look for offlineMessage
notification type
85.
< Other
API calls. Don’t forget /keepalive >
86.
87.
Exchange UserId/Password for
PART (HTTPS)
88.
PART = Pre-Approved
Request Token
89.
Programmatic solution
90.
Exchange PART for
Access Token / Handle (HTTPS)
91.
Date/Time issue on
mobile devices
92.
Accuracy requirement relaxed
if you use PLAINTEXT oauth signature method
93.
Access token expiration
94.
Looking to extend
this for Y! Messenger only consumer keys
95.