MySpace Open Platform enhancements with OpenSocial 0.9

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    14 Favorites

    MySpace Open Platform enhancements with OpenSocial 0.9 - Presentation 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
    SlideShare Zeitgeist 2009

    + MySpaceDevTeamMySpaceDevTeam Nominate

    custom

    2351 views, 14 favs, 2 embeds more stats

    A summary and view into new features and enhancemen more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2351
      • 2302 on SlideShare
      • 49 from embeds
    • Comments 0
    • Favorites 14
    • Downloads 0
    Most viewed embeds
    • 48 views on http://myofferpal.wordpress.com
    • 1 views on http://durga-technology4you.blogspot.com

    more

    All embeds
    • 48 views on http://myofferpal.wordpress.com
    • 1 views on http://durga-technology4you.blogspot.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories