Your SlideShare is downloading. ×
  • Like
  • Save
MySpace Open Platform enhancements with OpenSocial 0.9
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

MySpace Open Platform enhancements with OpenSocial 0.9

  • 2,486 views
Published

A summary and view into new features and enhancements being rolled out to the MySpace Developer Platform with the 0.9 OpenSocial spec.

A summary and view into new features and enhancements being rolled out to the MySpace Developer Platform with the 0.9 OpenSocial spec.

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,486
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
15

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. January 2009 MySpace Apps OpenSocial 0.9
  • 2. Introductions
    • Who I am – Chris Cole Architect with MySpace Developer Platform
    • (& fill-in for Max Newbould)
    • Topics
      • Highlight new developments
      • Overview of major features in OpenSocial 0.9
      • Sneak-peak at coming attractions
  • 3. New Features and Goodies
    • External IFrame support library for PostTo (opensocial.requestSendMessage)
    • Multiple Invitees in App Invites
    • Activites
    • Notifications
    • Media Endpoints
    • OSML
    • Lightweight Javascript API (osapi.*)
  • 4. External IFrame Support Library
    • DEMO Iframe postTo Workaround Search App Gallery for “ iframe postTo ”
    • Allows requestSendMessage , functionality from External Iframe apps (PostTo * targets)
    • http://profile.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=444347046
    • Use REST endpoints for other opensocial calls
  • 5. External IFrame Support Library
    • DEMO
  • 6. Activities
    • Beta introduced with 0.8
    • Allows App to post to Friend Updates feed
      • Currently requires App to be installed
      • At full release all users will see activity feed messages
    • Info on Templates, Activities on developer site http://developer.myspace.com/community/myspace/activities.aspx
  • 7. Notifications
    • App to Person messages requestCreateNotification(recip, msg, callback)
    • Shows in Notifications folder in user’s inbox
    • Will support customizable Templates
    • Can send notification from any surface
  • 8. Rich Media Support
    • Photo upload
    • Photos and Photo Albums via opensocial
      • newFetchAlbumsRequest
      • newCreateAlbumRequest
      • newCreateMediaItemRequest
      • newUpdateAlbum /MediaItem Request
      • newDeleteAlbum /MediaItem Request
  • 9. Rich Media Support
    • DEMO
  • 10. OpenSocial Markup Language (OSML)
    • Declarative tag-based language for opensocial apps
    • DataPipeline – Data fetching in one line <os:PeopleRequest … groupId=“@friends” key=“foo” />
    • Templates and Tags
  • 11. Data Pipeline
    • Declare and use data simply
      • No need for 20+ lines of Javascript & callback functions
    • <os:ViewerRequest key=“Viewer” >
    • ...
    • <h1>Hello, ${Viewer.Name}</h1>
  • 12. Data Pipeline
    • Not old-style data call
    • function requestMe() { var req = opensocial.newDataRequest(); req.add(req.newFetchPersonRequest( opensocial.DataRequest.PersonId.VIEWER), &quot;viewer&quot;); req.send(handleRequestMe);
    • };
    • function handleRequestMe(data) {
    • var viewer = data.get(&quot;viewer&quot;);
    • if (viewer.hadError()) { /
    • /Handle error using viewer.getError()...
    • return;
    • }
    • //No error. Do something with viewer.getData()... }
  • 13. OSML Templates
    • Declare and use custom tags
    • <script type=&quot;text/os-template&quot; tag=&quot;my:Hello&quot;>
    • <h1>Hello World</h1>
    • </script>
    • ...
    • <h1>My App Rules!</h1>
    • <my:Hello />
  • 14. OSML Templates
    • Built-in subview support
    • <Content type=“html” view=“Canvas” >
    • . . .
    • <os:NavigateTo target=“canvas.about” >About</os:NavigateTo>
    • </Content>
    • <Content type=“html” view=“Canvas.about” >
    • About this app
    • </Content>
  • 15. OSML
    • DEMO
  • 16. OpenSocial
    • http://opensocial.org
  • 17. OpenSocial
    • Questions