";
for (var i=0; i < viewers.length; i++) {
html += "
" + viewers[i].displayName
+ "
";
}
html += "
";
document.getElementById("div").innerHTML =
html;
Where is the error?
Slide 61
Slide 61 text
Templates
Slide 62
Slide 62 text
DEMO
Slide 63
Slide 63 text
REST API
Slide 64
Slide 64 text
GET /rest/people/34KJDCSKJN2HHF0DW20394/@self?
fields=name,gender&format=xml HTTP/1.1
HOST api.example.org
Authorization: hh5s93j4hdidpola
HTTP/1.1 200 OK
Content-Type: text/xml
34KJDCSKJN2HHF0DW20394
Jane Doe
female
Slide 65
Slide 65 text
• People
• Activities
• AppData
• Messages
• MediaItems
• Albums
• Groups
Slide 66
Slide 66 text
DEMO
Slide 67
Slide 67 text
Authorization
Slide 68
Slide 68 text
No content
Slide 69
Slide 69 text
lanyrd.com
twitter.com
Pre Registration of Client at
Twitter:
- Shared Consumer Key
- Shared Consumer Secret
Slide 70
Slide 70 text
HTTP POST
Connect with Twitter
lanyrd.com
Slide 71
Slide 71 text
twitter.com
HTTP POST
Connect with Twitter
HTTP GET
Consumer Key
Redirect URI
Signature (Consumer
Secret)
lanyrd.com
Slide 72
Slide 72 text
twitter.com
HTTP POST
Connect with Twitter
Request Token
Request Token Secret
lanyrd.com
HTTPS GET
lanyrd.com
(RedirectURI?
authorizationCode=
...)
Slide 92
Slide 92 text
HTTPS GET
HTTPS GET
Consumer Key
Authorization Code
Consumer Secret
twitter.com
lanyrd.com
Slide 93
Slide 93 text
HTTPS GET
Access Token
(Refresh Token)
twitter.com
lanyrd.com
Slide 94
Slide 94 text
HTTPS GET
HTTPS API Request
Access Token
twitter.com
lanyrd.com
Slide 95
Slide 95 text
HTTPS GET
HTTPS GET
Consumer Key
Refresh Token
Consumer Secret
twitter.com
lanyrd.com
Slide 96
Slide 96 text
HTTPS GET
Access Token
Refresh Token
twitter.com
lanyrd.com
Slide 97
Slide 97 text
Embedded Experience
Slide 98
Slide 98 text
No content
Slide 99
Slide 99 text
No content
Slide 100
Slide 100 text
From: [email protected]
To: [email protected]
Subject: Social Network: Mary Has Commented On Your Status
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="XXXXboundary text"
--XXXXboundary text
Content-Type: text/html
--XXXXboundary text
Content-Type: application/embed+json
{
"gadget" : "http://www.socialnetwork.com/embedded/
commentgadget.xml",
"context" : 123
}
Slide 101
Slide 101 text
DEMO
Slide 102
Slide 102 text
Declarative actions
Slide 103
Slide 103 text
No content
Slide 104
Slide 104 text
]]>
Slide 105
Slide 105 text
// Bind javascript function to action ID
function mycallback{
...
}
var myaction = {
id: "org.samplevoip.callbyperson",
callback: mycallback
}
container.actions.updateAction(myaction);
]]>
Slide 106
Slide 106 text
OpenSearch
Slide 107
Slide 107 text
No content
Slide 108
Slide 108 text
Example Search
Realtime Example Search
http://search.example.com/
favicon.png
UTF-8
http://search.example.com/
]]>