goodle developer days madrid 2008 - open social update
Post on 13-Sep-2014
9.193 views
DESCRIPTION
Updates about the OpenSocial ecosystem at Google developer days Madrid including presentations from Netlog and Viadeo.OpenSocial is an open specification defining a common API that works on many different social websites, including MySpace, Plaxo, Hi5, Ning, orkut, Friendster Salesforce.com and LinkedIn, among others. This allows developers to learn one API, then write a social application for any of those sites: Learn once, write anywhere.In addition, in order to make it easier for developers of social sites to implement the API and make their site an OpenSocial container, the Apache project Shindig provides reference implementations for OpenSocial containers in two languages (Java, PHP). Shindig will define a language specific Service Provider Interface (SPI) that a social site can implement to connect Shindig to People, Persistence and Activities backend services for the social site. Shindig will then expose these services as OpenSocial JavaScript and REST APIs.In this session we will explain what OpenSocial is, show examples of OpenSocial containers and applications, demonstrate how to create an OpenSocial application, and explain how to leverage Apache Shindig in order to implement an OpenSocial container.TRANSCRIPT
![Page 1: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/1.jpg)
![Page 2: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/2.jpg)
OpenSocial ecosystemupdatesPatrick ChanezonChris ChabotChewy TrewhellaThomas Steiner
22/09/2008
![Page 3: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/3.jpg)
Agenda
• OpenSocial introduction• How to build OpenSocial applications• Hosting social applications• Social applications monetization• OpenSocial container demos• Becoming an OpenSocial container• Google Friend Connect• Summary
![Page 4: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/4.jpg)
OpenSocial IntroductionPatrick Chanezon
![Page 5: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/5.jpg)
Making the web betterby making it social
What does social mean?
![Page 6: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/6.jpg)
What does Social mean?
Eliette what do you do with your friends?
![Page 7: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/7.jpg)
This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License
![Page 8: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/8.jpg)
This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License
![Page 9: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/9.jpg)
This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License
![Page 10: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/10.jpg)
This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License
![Page 11: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/11.jpg)
This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License
![Page 12: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/12.jpg)
This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License
![Page 13: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/13.jpg)
Raoul: a social object for Charlotte (3 year old)
![Page 14: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/14.jpg)
![Page 15: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/15.jpg)
Jaiku’s Jyri Engeström's 5 rules for socialnetworks: social objects
1. What is your object?2. What are your verbs?3. How can people share the objects?4. What is the gift in the invitation?5. Are you charging the publishers or the spectators?http://tinyurl.com/yus8gw
![Page 16: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/16.jpg)
How do we socialize objectsonline
without having to create yetanother social network?
![Page 17: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/17.jpg)
OpenSocial
A common API for social applicationsacross multiple web sites
![Page 18: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/18.jpg)
The Trouble with Developing Social Apps
Which site do I build my app for?
![Page 19: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/19.jpg)
Let’s work on that…
Using OpenSocial, I can build apps forall of these sites!
![Page 20: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/20.jpg)
What’s offered by OpenSocial?
• Activitieso What are people up to on the web
• People/Profile Infoo Who do I know, etc.
• Persistent datastoreo Handles key/value pairs
![Page 21: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/21.jpg)
Today: 375 Million User Reach
![Page 22: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/22.jpg)
Where is OpenSocial live today?
Live to Users:• MySpace• orkut• Hi5• Freebar• Friendster• Webon from Lycos• IDtail• YiQi• Netlog - New!• Hyves - New!
Live Developer Sandboxes:• iGoogle• imeem• CityIN• Tianya• Ning• Plaxo Pulse• Mail.ru
Individual Developer Links:http://code.google.com/apis/opensocial/gettingstared.html
![Page 23: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/23.jpg)
OpenSocial “Containers”
![Page 24: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/24.jpg)
What’s in OpenSocial?
• JavaScript API - Now
• REST Protocol - New
• Templates - Prototype in Shindig
![Page 25: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/25.jpg)
OpenSocial’s JavaScript API
• OpenSocial JS API• Gadget JS API• Gadget XML schema
• OpenSocial v0.7 is live• OpenSocial v0.8 is being deployed now
• Specs and release notes: http://opensocial.org
![Page 26: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/26.jpg)
OpenSocial’s REST Protocol
• Access social data without JavaScript• Works on 3rd party websites / phones / etc• Uses OAuth to allow secure access• Open source client libraries in development
o Java, PHP, Python, <your fav language here>
• Being deployed with OpenSocial v0.8
• Spec’s available at http://opensocial.org
![Page 27: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/27.jpg)
OpenSocial Templates
• Writing JavaScript is hard• Writing templates is easy• Templates also give
o Consistent UI across containerso Easy way to localizeo More interesting content options when inlining
into container (activities, profile views)o Ability to serve millions of dynamic pages per
day without a server
![Page 28: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/28.jpg)
Try out templates today!
• Samples and docs:http://ostemplates-demo.appspot.com
• Sample app:http://ostemplates-demo.appspot.com/friends.html
• Discussion group:http://tech.groups.yahoo.com/group/os-templates/
• Code is all in Shindig, can download, use, and evensubmit patches to improve
• So…o Get involved and provide comments, ando Build some apps
![Page 29: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/29.jpg)
OpenSocial is what you make it.
• OpenSocial is an open source project.• The spec is controlled by the community.• Anyone can contribute and have a voice.• http://groups.google.com/group/opensocial/
o “OpenSocial and Gadgets spec” subgroup
• OpenSocial Foundationo Get involved to nominate and elect board repso http://www.opensocial.org/opensocial-foundation/
![Page 30: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/30.jpg)
A note on compliance
• OpenSocial is designed for many sites
• Building an app:o Technologyo Policy
• OpenSocial Compliance Testso http://code.google.com/p/opensocial-
resources/wiki/ComplianceTests
![Page 31: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/31.jpg)
OpenSocial Compliance test in orkut
![Page 32: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/32.jpg)
OpenSocial Compliance Matrix
http://opensocial-compliance.appspot.com
![Page 33: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/33.jpg)
Other comments
• Portable Contacts Alignment
• Caja for JavaScript security
![Page 34: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/34.jpg)
A standard for everyone
This work by Eliette Chanezon is licensed under a Creative Commons Attribution-Share Alike 3.0 License
![Page 35: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/35.jpg)
How To Build OpenSocialApplications
![Page 36: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/36.jpg)
People & Friends ExampleRequesting friend Info
function getFriendData() { var req = opensocial.newDataRequest(); req.add( req.newFetchPersonRequest(VIEWER), 'viewer'); req.add( req.newFetchPeopleRequest(VIEWER_FRIENDS), 'viewerFriends'); req.send(onLoadFriends);}
![Page 37: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/37.jpg)
People & Friends Example
function onLoadFriends(resp) { var viewer = resp.get('viewer').getData(); var viewerFriends = resp.get('viewerFriends').getData(); var html = 'Friends of ' + viewer.getDisplayName() + ‘:<br><ul>’;
viewerFriends.each(function(person) { html += '<li>' + person.getDisplayName()+'</li>';}); html += '</ul>'; document.getElementById('friends').innerHTML += html;}
Callback function for returned friend data
![Page 38: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/38.jpg)
Activities Example
function postActivity(text) { var params = {}; params[opensocial.Activity.Field.TITLE] = text; var activity = opensocial.newActivity(params); opensocial.requestCreateActivity( activity, opensocial.CreateActivityPriority.HIGH, callback);}
postActivity( "This is a sample activity, created at " + new Date().toString());
Posting an activity
![Page 39: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/39.jpg)
Persistence Example
function populateMyAppData() { var req = opensocial.newDataRequest(); var data1 = Math.random() * 5; var data2 = Math.random() * 100; req.add( req.newUpdatePersonAppDataRequest("VIEWER", "AppField1", data1)); req.add( req.newUpdatePersonAppDataRequest("VIEWER", "AppField2", data2)); req.send(requestMyData);}
Persisting data
![Page 40: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/40.jpg)
Persistence Example
function requestMyData() { var req = opensocial.newDataRequest(); var fields = ["AppField1", "AppField2"];
req.add(req.newFetchPersonRequest( opensocial.DataRequest.PersonId.VIEWER), "viewer"); req.add(req.newFetchPersonAppDataRequest("VIEWER", fields), "viewer_data"); req.send(handleReturnedData);}
Fetching persisted data
![Page 41: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/41.jpg)
Persistence Example
function handleReturnedData(data) { var mydata = data.get("viewer_data"); var viewer = data.get("viewer"); me = viewer.getData(); // me is global var var data = mydata[me.getId()];
htmlout += "AppField1: " + data["AppField1"] + "<br/>"; htmlout += "AppField2: " + data["AppField2"] + "<br/>"; var div = document.getElementById('content_div'); div.innerHTML = htmlout;}
Displaying fetched (persisted) data
![Page 42: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/42.jpg)
Resources For Application DevelopersSpecificationhttp://opensocial.org/http://groups.google.com/group/opensocial-and-gadgets-spec
Code Samples and Toolshttp://code.google.com/opensocialhttp://code.google.com/p/opensocial-resources/
Sandboxeshttp://developer.myspace.com/http://www.hi5networks.com/developer/http://opensocial.ning.com/http://code.google.com/apis/orkut/http://code.google.com/apis/igoogle/http://en.netlog.com/go/developer/opensocial
![Page 43: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/43.jpg)
OpenSocial resources in spanish
• Google Code in Spanish: http://code.google.com/intl/es/• OpenSocial v0.7
- http://code.google.com/intl/es/apis/opensocial/• Gadgets - http://code.google.com/intl/es/apis/gadgets/ (full
reference for Opensocial 0.7)• Orkut API - http://code.google.com/intl/es/apis/orkut/
![Page 44: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/44.jpg)
Hosting social appsPatrick Chanezon
![Page 45: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/45.jpg)
Hosting OpenSocial apps
• Establish a "home" site where gadget can phonehome to retrieve, post data
• Can host home site on your own, or use services:o Amazon EC2o Joyento Google AppEngine
• Zembly: is the world's first cloud-baseddevelopment environment for social apps. FullOpenSocial support
In addition to using the provided persistence API...
![Page 46: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/46.jpg)
Google AppEngine and OpenSocial
• Create an App Engine app as your backend!o Use makeRequest() to call back to your AppEngine
servero Utilize AppEngine's datastore
• New OpenSocial Apps are coming onlineo BuddyPoke,
• Checkout Lane Liabraaten’s OpenSocial-AppEngineintegration articleo http://code.google.com/apis/opensocial/articles/appengine.html
• Google IO Code Lab about OpenSocial Apps in the Cloud
![Page 47: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/47.jpg)
Social Apps monetizationPatrick Chanezon
![Page 48: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/48.jpg)
OpenSocial Monetization• Ads from Ad Networks
o AdSense, RightMediao BuddyPoke, Rate My Friend
• Brand/Private Label Appo Sony Ericsson MTV Roadies app on orkut
• Sell virtual or real goods• Free -> Freemium• Referrals• Virtual currency
![Page 49: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/49.jpg)
Success Story: Buddy Poke
• #1 OpenSocial app on orkut• 8M installs for orkut, hi5, MySpace• $1-2 CPM• #1 App for App Engine w/ millions daily PV
![Page 50: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/50.jpg)
Success Story: PhotoBuzz
• 6M+ installs on hi5 and orkut• CPM $1-3, especially good on orkut• 4M buzzes per day• Small team of 4 people, profitable
![Page 51: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/51.jpg)
Container demos
![Page 52: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/52.jpg)
NetlogToon CoppensFolke Lemaitre
![Page 53: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/53.jpg)
What is Netlog?
![Page 54: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/54.jpg)
Your Profile
![Page 55: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/55.jpg)
Friend Activity
![Page 56: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/56.jpg)
Communication: Shouts
![Page 57: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/57.jpg)
Communication: Private messaging
![Page 58: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/58.jpg)
Communication: Chat
![Page 59: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/59.jpg)
Homepage
![Page 60: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/60.jpg)
Explore
![Page 61: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/61.jpg)
How are we doing?
• More than 35,000,000 unique members• More than 6,000,000,000 pageviews/Month
![Page 62: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/62.jpg)
Europe and beyond...
![Page 63: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/63.jpg)
More than 23 languages
• 23 languages and alot more coming!o 8,000,000 Spanish & Catalan speaking members
Català中文
česky
Dansk
Nederlands
English
Eesti
suomifrançais
DeutschItaliano
Lietuvių kalba Norsk (bokmål)
Polski
PortuguêsRomână
Русский
slovenščina
Español
Svenska
TürkçeAfrikaans
български
Hrvatski
Magyar
Latviešuvaloda
Slovenčina
![Page 64: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/64.jpg)
Applications
![Page 65: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/65.jpg)
Canvas view
![Page 66: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/66.jpg)
Profile view
![Page 67: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/67.jpg)
Home View (available soon!)
![Page 68: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/68.jpg)
Application directory
![Page 69: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/69.jpg)
Activity logs
![Page 70: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/70.jpg)
Share with your friends
![Page 71: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/71.jpg)
Requirements
![Page 72: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/72.jpg)
Whitelisting Requirements
• an application should be fully integratedo no external login should be needed...o no external links
• no ads in “profile” view• no spamming through activities/requests• localised & translated
o We can help you!
![Page 73: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/73.jpg)
Localisation
![Page 74: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/74.jpg)
Seemless translation
![Page 75: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/75.jpg)
Localisation is important!
• Translations are automatically injected
• Translation tool for Netlog translators
![Page 76: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/76.jpg)
Monetization
![Page 77: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/77.jpg)
What’s in it for you?
• Branding, co-branding, sponsorships
• 100% revenue from vertical rectangle or skyscraperon your application page
• Credit economy with Netlog OpenSocial extension
![Page 78: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/78.jpg)
Credit Economy
• Virtual Currency• Use Cases
o charge credits for app installationo charge credits for certain featureso charge credits for buying itemso charge credits for...
![Page 79: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/79.jpg)
Questions?
• Developer pages:o http://es.netlog.com/go/developer/
• OpenSocial sandbox:o http://es.netlog.com/go/developer/opensocial/sandbox=1
![Page 80: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/80.jpg)
ViadeoAriel Messias
![Page 81: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/81.jpg)
Google Dev DayOpenSocial
Madrid08/09/25Social Network
Business ToolCareer Management
© viadeo – septembre 2008
![Page 82: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/82.jpg)
• A few words about Viadeo
• What to offer to Viadeo’s members
• Sandbox presentation
Agenda
![Page 83: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/83.jpg)
Viadeo
• 3 groups of Use :o Social Network,o Business Toolo Career Management
• 5 +m Members mainly :o Europeo China
• Strong activityo 7, 000 new members/dayo 10, 000 connections/dayo +120, 000 consulted profiles/dayo 1,3 M hubs registration
![Page 84: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/84.jpg)
France
• 1.8m members(1)
• 350k members(1)
• 2.2m members(1)
China
(1) end of August 2008• 300k members(1)
Italy
• 150 k members(1)
UK/Ireland• 100k members(1)
Belgium
Spain/Portugal
International Footprint : 5+m Members
Other European countries
• 150K members(1)
Switzerland
• 50K members(1)
![Page 85: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/85.jpg)
Benefits Viadeo can offer to developers
• 8 languages (European + China)
• Professional oriented
• Distribution of Members among all the Industries
• Mainly “A Level” profiles
• Members with High Revenues => Strong capabilities ofmonetization
![Page 86: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/86.jpg)
Vertical Apps ?
Members split by industry
![Page 87: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/87.jpg)
“A Level” priority targets ?
High qualification of Viadeo’s members
![Page 88: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/88.jpg)
Apps for Professional Social Network…
Helping to :
• Find Customers / Partners / Suppliers
• Organize Meetings/Events
• Share information and expertise
But also ...
• Get headhunted…
• …and recruit
• Etc…
![Page 89: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/89.jpg)
Sandbox Presentation – Create a Dev. Account
![Page 90: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/90.jpg)
Sandbox Presentation – Apps Directory
![Page 91: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/91.jpg)
Sandbox Presentation – My Apps
![Page 92: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/92.jpg)
Sandbox Presentation – Add an app
![Page 94: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/94.jpg)
Becoming an OpenSocial ContainerChris Chabot
![Page 95: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/95.jpg)
Becoming an OpenSocial Container
• Question:o How do you become an OpenSocial container?
• Answer:o The Apache incubator project “Shindig” serves this
purpose!
![Page 96: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/96.jpg)
What is Shindig ?
• Open source reference implementation of OpenSocial &Gadgets specification
• An Apache Software Incubator project• Available in Java & PHP• http://incubator.apache.org/shindig
It’s Goal: “Shindig's goal is to allow new sites to start hosting social appsin under an hour's worth of work"
![Page 97: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/97.jpg)
Introduction to Shindig Architecture• Gadget Server• Social Data Server• Gadget Container JavaScript
![Page 98: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/98.jpg)
Gadget Server
![Page 99: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/99.jpg)
Social Server
![Page 100: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/100.jpg)
Social Server - RESTful API• Preview available on
o iGoogleo Orkuto Hi5
• New development modelso Server to server & Mobile!
• Try it out:curl http://localhost:8080/social/rest/people/john.doe/@all
![Page 101: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/101.jpg)
Implementing Shindig - Data sources• Integrate with your own data sources
o People Serviceo Activities Serviceo App Data Service
class MyPeopleService implements PeopleService {...}
class MyAppDataService implements AppDataService {...}
class MyActivitiesService implements ActivitiesService {...}
![Page 102: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/102.jpg)
Implementing Shindig - Data sources• Implement functions
function getActivities($ids){ $activities = array(); $res = mysqli_query($this->db, ”SELECT…"); while ($row = @mysqli_fetch_array($res, MYSQLI_ASSOC)) { $activity = new Activity($row['activityId'], $row['personId']); $activity->setStreamTitle($row['activityStream']); $activity->setTitle($row['activityTitle']); $activity->setBody($row['activityBody']); $activity->setPostedTime($row['created']); $activities[] = $activity; } return $activities;}
![Page 103: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/103.jpg)
Implementing - Make it a platform• Add UI Elements
o App Galleryo App Canvaso App Inviteso Notification Browser
• Developer Resourceso Developer Consoleo Application Gallery
• Scale it Out!
![Page 104: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/104.jpg)
Implementing - Scale it Out!• Prevent Concurrency issues• Reduce Latency• Add Caching• Add more caching!
![Page 105: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/105.jpg)
Usage Example: Sample Container• Static html sample container• No effort to get up and running• No database or features
![Page 106: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/106.jpg)
Usage Example: Partuza• Partuza is a Example social network site, written in PHP• Allows for local gadget development & testing too• Use as inspiration (or copy) for creating your own social site• http://code.google.com/p/partuza
![Page 107: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/107.jpg)
OpenSocial for intranet, portalsSun Microsystems• Socialsite: Shindig + gadget based UI written in Java• Open Source https://socialsite.dev.java.net/
Upcoming from Impetus• Zest: Shindig + Drupal (PHP)• Zeal: Shindig + Liferay (Java)
![Page 108: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/108.jpg)
Summary• Become an OpenSocial Container
o Get Shindig (PHP or Java)o Look at examples & documentationo Implement Serviceso Add UIo Scale it out
• Resources & Links:o http://www.chabotc.com/gdd/
![Page 109: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/109.jpg)
What is Friend Connect?Allows any site to become an OpenSocial container by simply
copying a few snippets of code into your site
http://www.google.com/friendconnect/
![Page 110: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/110.jpg)
![Page 111: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/111.jpg)
![Page 112: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/112.jpg)
![Page 113: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/113.jpg)
![Page 114: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/114.jpg)
![Page 115: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/115.jpg)
![Page 116: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/116.jpg)
![Page 117: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/117.jpg)
![Page 118: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/118.jpg)
![Page 119: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/119.jpg)
![Page 120: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/120.jpg)
Friend Connect gives ...
• Userso ... more ways to do more things with my friends
• Site ownerso ... more (and more engaged) traffic for my site
• App developerso ... more reach for my apps
and ... make it easy
![Page 121: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/121.jpg)
Learn morecode.google.com
![Page 122: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/122.jpg)
![Page 123: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/123.jpg)
Q & A
![Page 124: Goodle Developer Days Madrid 2008 - Open Social Update](https://reader033.vdocuments.mx/reader033/viewer/2022051322/541410a98d7f727d698b47f7/html5/thumbnails/124.jpg)