7. Objetos Sociales
Jaiku’s Jyri Engeström's 5 rules for social networks
1. What is your object?
2. What are your verbs?
8. Objetos Sociales
Jaiku’s Jyri Engeström's 5 rules for social networks
1. What is your object?
2. What are your verbs?
3. How can people share the objects?
9. Objetos Sociales
Jaiku’s Jyri Engeström's 5 rules for social networks
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?
10. Objetos Sociales
Jaiku’s Jyri Engeström's 5 rules for social networks
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?
11. Objetos Sociales
Jaiku’s Jyri Engeström's 5 rules for social networks
eBay
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?
12. Objetos Sociales
Jaiku’s Jyri Engeström's 5 rules for social networks
eBay
1. What is your object? productos
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?
13. Objetos Sociales
Jaiku’s Jyri Engeström's 5 rules for social networks
eBay
1. What is your object? productos
2. What are your verbs? comprar / vender
3. How can people share the objects?
4. What is the gift in the invitation?
5. Are you charging the publishers
or the spectators?
14. Objetos Sociales
Jaiku’s Jyri Engeström's 5 rules for social networks
eBay
1. What is your object? productos
2. What are your verbs? comprar / vender
3. How can people share the objects? links / widgets
4. What is the gift in the invitation?
5. Are you charging the publishers
or the spectators?
15. Objetos Sociales
Jaiku’s Jyri Engeström's 5 rules for social networks
eBay
1. What is your object? productos
2. What are your verbs? comprar / vender
3. How can people share the objects? links / widgets
4. What is the gift in the invitation? descuento
5. Are you charging the publishers
or the spectators?
16. Objetos Sociales
Jaiku’s Jyri Engeström's 5 rules for social networks
eBay
1. What is your object? productos
2. What are your verbs? comprar / vender
3. How can people share the objects? links / widgets
4. What is the gift in the invitation? descuento
5. Are you charging the publishers freemium /
or the spectators? publisher en gral
45. Facebook API
API: REST & JavaScript brinda acceso a datos del usuario
y sus amigos.
(FQL, “Facebook Query Language”): lenguaje que
permite consultas complejas para obtener datos del
usuario y sus amigos.
(FBML, “Faceboook Markup Language”): lenguaje markup
similar al HTML.
48. OpenSocial API
2 roles:
• container: implementa la API
• application: usa la API
2 modos:
• Javascript API
• RESTfull API (en desarrollo)
49. OpenSocial API
Datos accesibles:
• people: información sobre personas y amigos.
• activities: permite publicar y recibir actividades de las
personas.
• persistence: utilizando una abstracción del tipo (clave, valor)
permite a las aplicaciones persistir su propia información.
50. OpenSocial API
<?xml version=quot;1.0quot; encoding=quot;UTF-8quot; ?>
<Module><ModulePrefs title=quot;List Friends Examplequot;><Require feature=quot;opensocial-0.7quot;/></ModulePrefs>
<Content type=quot;htmlquot;>
<![CDATA[
<script type=quot;text/javascriptquot;>
function getData() {
var req = opensocial.newDataRequest();
req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER), 'viewer');
req.add(req.newFetchPeopleRequest(opensocial.DataRequest.Group.VIEWER_FRIENDS), 'viewerFriends');
req.send(onLoadFriends);
};
function onLoadFriends(dataResponse) {
var viewer = dataResponse.get('viewer').getData();
var viewerFriends = dataResponse.get('viewerFriends').getData();
var html = '<table>';
var i = 1;
viewerFriends.each(function(person) {
if (i == 1) { html += '<tr>'; }
html += '<td><img src=quot;' + person.getField(opensocial.Person.Field.THUMBNAIL_URL) + 'quot;/></td>';
html += '<td>' + person.getDisplayName() + '</br></td>';
if (i == 4) { i = 0; html += '</tr>'; } i++;
});
document.getElementById('friends').innerHTML = html;
document.getElementById('viewer').innerHTML = viewer.getDisplayName();
};
gadgets.util.registerOnLoadHandler(getData);
</script>
...
]]>
</Content></Module>