31
hi5 Platform OpenSocial Container Implementation

hi5 Platform Presentation (Google User Group)

  • Upload
    lrm718

  • View
    2.455

  • Download
    2

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: hi5 Platform Presentation (Google User Group)

hi5 Platform

OpenSocial Container Implementation

Page 2: hi5 Platform Presentation (Google User Group)

hi5 PlatformAbout hi5Developer ConsoleIntegration PointsApplication Discoveryhi5 OpenSocial ExtensionsWhy Develop for hi5?RoadmapDemo

Page 3: hi5 Platform Presentation (Google User Group)

hi5 - Dominant Global Social NetworkWe are one of the largest web sites in the world (#8 on Alexa) and the most global of all the social networking sites.

Over 80+ million registered members and ~40 million WW unique users Most popular Spanish-speaking social network in the world

Top 10 in Latin AmericaMexico, Colombia, Bolivia, Guatemala, Peru, Costa Rica, Nicaragua, Honduras, Ecuador, El Salvador

Top 10 in Rest of the WorldPortugal, Greece, Romania, Cyprus, Thailand, Jamaica, Sri Lanka, Kuwait, Jordan, Oman

Page 4: hi5 Platform Presentation (Google User Group)

Hi5’s Demographics Broad reach across major demos:

18 to 34 primary Roughly 50%split male/female US traffic: significant percentage is Hispanic

Diverse traffic from Europe (25%), North America (15%) and Central & South America (31%), Asia (21%) Offered in 15 languages Grew big in most international countries with English first and then translated Members use the site primarily to keep in touch with their friends. Users have limited self-expression tools - skins, widgets, etc.

Page 5: hi5 Platform Presentation (Google User Group)

Developer ConsoleOpenSocial 0.7Shindig servers hosted at hi5

Add and manage applicationsRefresh metadata from gadget prefsManage other developersManage API KeysSubmit applications to the hi5 directory

hi5 Developer Blog feedSimple in-line application editorView analytics for live applications

Page 6: hi5 Platform Presentation (Google User Group)

Developer Console

Page 7: hi5 Platform Presentation (Google User Group)

Integration PointsPreviewHomepage

My ApplicationsProfile Module

Draggable, minimizableSkins feature allows seamless UI integration

Canvas PageDedicated page for applicationsMonetization opportunity, allows embedded ad tags

Page 8: hi5 Platform Presentation (Google User Group)

Preview

Page 9: hi5 Platform Presentation (Google User Group)

Homepage

Page 10: hi5 Platform Presentation (Google User Group)

Profile ModuleSkins feature allows seamless UI integration

Page 11: hi5 Platform Presentation (Google User Group)

Using SkinsIn ModulePrefs:<Require feature="skins"/>

In Your Application:function setSkin() { document.write('<style type="text/css">'); document.write('.main {'); bgColor = gadgets.skins.getProperty(gadgets.skins.Property.BG_COLOR); if(bgColor) { document.write('background-color:' + bgColor + ';'); } document.write('}'); document.wrtie('</style>');}

Page 12: hi5 Platform Presentation (Google User Group)

Canvas Page

Page 13: hi5 Platform Presentation (Google User Group)

Application DiscoveryApplication Directory

Categories, sorting and filteringApplication Homepage

My Friends' applicationsOther recommendationsManage your applications

Viral ChannelsFriend UpdatesNotificationsInvitesEmail (limited to 1 per user per app per day)

Page 14: hi5 Platform Presentation (Google User Group)

Application Directory

Page 15: hi5 Platform Presentation (Google User Group)

Applications HomepageDiscover applications as filtered by your networks or manage our own applications

Page 16: hi5 Platform Presentation (Google User Group)

Friend UpdatesOn both homepage and profile pageCreated using the OpenSocial Activity API (requestCreateActivity)Publication not guaranteed but typically high (> 80%)

Page 17: hi5 Platform Presentation (Google User Group)

NotificationsSent using the OpenSocial request* API. (requestSendMessage, type=NOTIFICATION)Limited to 5 per user per app per day

Page 18: hi5 Platform Presentation (Google User Group)

InvitesAll apps have built-in invite flow from profile and canvas pagesWe will offer limited or no ability to redirect users to invite

Page 19: hi5 Platform Presentation (Google User Group)

hi5 OpenSocial Extensions APIAn optional feature that provides access to additional hi5-specific functionality

New data requestsPhotos (hi5.fetchAlbumsDataRequest)Online Presence (hi5.fetchPresenceRequest)Status (hi5.fetchStatusRequest)

New fieldsLink for friend update media (hi5.ActivityMediaItemField.LINK)More image sizes(hi5.ProfileField.SMALL_IMG_URL, etc)

Simple template/tag libraryMore to come!!

Page 20: hi5 Platform Presentation (Google User Group)

Adding the hi5 OpenSocial API

In ModulePrefs:

<Optional feature='hi5'/>

Page 21: hi5 Platform Presentation (Google User Group)

Capabilities Discoveryfunction loadFriends() { var req = opensocial.newDataRequest(); req.add(req.newFetchPersonRequest('VIEWER'), 'viewer'); req.add(req.newFetchPeopleRequest('VIEWER_FRIENDS'), 'viewerFriends'); req.add(req.newFetchPersonAppDataRequest('VIEWER', 'gifts'), 'data'); req.add(req.newFetchPersonAppDataRequest('VIEWER_FRIENDS', 'gifts'), 'viewerFriendData'); if(gadgets.util.hasFeature('hi5')) { req.add(hi5.newFetchStatusRequest('OWNER'),'ownerStatus'); req.add(hi5.newFetchStatusRequest('VIEWER_FRIENDS'),'viewerFriendsStatus'); req.add(hi5.newFetchPresenceRequest('VIEWER_FRIENDS'),'viewerFriendsPresence'); req.add(hi5.newFetchAlbumsRequest('OWNER'),'ownerAlbums'); } req.send(onLoadFriends);}

Page 22: hi5 Platform Presentation (Google User Group)

Capabilities Discovery var mediaItems = new Array(); var mediaItem = opensocial.newActivityMediaItem(opensocial.Activity.MediaItem.Type.IMAGE, viewer.

getField(opensocial.Person.Field.THUMBNAIL_URL)); if(gadgets.util.hasFeature('hi5') && opensocial.getEnvironment().supportsField(opensocial.Environment.

ObjectType.ACTIVITY_MEDIA_ITEM, hi5.ActivityMediaItemField.LINK)) { mediaItem.setField(hi5.ActivityMediaItemField.LINK, viewer.getField(opensocial.Person.Field.

PROFILE_URL)); }

Page 23: hi5 Platform Presentation (Google User Group)

hi5 REST API

api.hi5.com

RoadmapWe will add support to access more of our REST API via OpenSocial callsWe will move towards compliance with a standard OpenSocial REST API implementation

Page 24: hi5 Platform Presentation (Google User Group)

More reasons to develop for hi5...A new audience via our unique footprint in Latin America, Europe and Asia

Of the more than 80 million individuals registered with hi5, less than a third are also active on the other leading social networks, incl. FB, MySpace, Bebo, Friendster (comscore)

OpenSocial!Because hi5 is a founding adopter of OpenSocial, developers’ apps can be deeply embedded within hi5, as well as easily translated beyond hi5 to other OpenSocial-enabled websites

Page 25: hi5 Platform Presentation (Google User Group)

More reasons to develop for hi5...$$$

A dedicated canvas page that can be monetizedPromotions on the hi5 blog (one developer post/mo – rotating among our registered developers with popular apps)

Free Infrastructure from Joyenthi5 Developers could win one year of Joyent’s Free Accelerator™ scalable, on-demand infrastructure for their hi5 app! Limited number at launch, more to come

Page 26: hi5 Platform Presentation (Google User Group)

More reasons to develop for hi5...

Translation ServicesWe plan on offering translation support into Spanish to the first 100 high-quality applications approved for productionWe look forward to offering built-in translation support for all hi5 applications in multiple languages in future versions of the platform

Page 27: hi5 Platform Presentation (Google User Group)

hi5 Platform RoadmapSeveral hundred apps in our sandbox that we are reviewing and working with developers to finalize. White-list style approach to ensure app quality and user-centric relevancy (guidelines to be published this week)

March 15th HackathonHosted at the Google Campus in Mountain View, geared towards helping developers finalize their applications for launch.

RSVP by emailing [email protected]

March 31st Public LaunchPublic rollout begins! We'll launch with as many applications that have met our guidelines and are ready to go live.

Page 28: hi5 Platform Presentation (Google User Group)

Demo

PixWall, by PixVerse on hi5http://lou.sandbox.hi5.com/friend/apps/entry/gs1.rs.pixverse.com:15900/hi5pixwall/gadget

Page 29: hi5 Platform Presentation (Google User Group)

Resources For Container DevelopersSpecificationhttp://code.google.com/apis/opensocial/

For container developershttp://incubator.apache.org/shindig/http://code.google.com/p/google-caja

Pat's delicious feed: http://del.icio.us/chanezon/opensocial

Page 30: hi5 Platform Presentation (Google User Group)

Resources For Application DevelopersSpecificationhttp://code.google.com/apis/opensocial/REST API: http://groups.google.com/group/opensocial-and-gadgets-spec

Code Samples and Toolshttp://code.google.com/p/opensocial-resources/

Sandboxeshttp://developer.myspace.com/http://www.hi5networks.com/developer/http://opensocial.ning.com/http://pulse.plaxo.com/pulse/gadgets/http://code.google.com/apis/orkut/Pats delicious feed: http://del.icio.us/chanezon/opensocial

Page 31: hi5 Platform Presentation (Google User Group)

Questions