opensocial overview for students

Post on 17-May-2015

591 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

OpenSocial for Students

By Rohit GhatolFrom

Pune Google Technology User Grouphttp://pune-gtug.blogspot.com

What is Pune-GTUG?

GTUG stands for Google Technology User Group

http://pune-gtug.blogspot.com

What is OpenSocial?

What is OpenSocial?

OpenSocial defines a common API for social applications across multiple websites. With standard JavaScript and HTML, developers can create apps that access a social network's friends and update feeds.

Before we answer that lets understand what social

networking sites do?

Can you name some of the social networking sites?

Social Networking Sites

What do you do on these sites?

We socialize and do some activity on these sites!

What do you do on these sites?

We socialize and do some activity on these sites!

Music

What do you do on these sites?

We socialize and do some activity on these sites!

Scrapbook

What do you do on these sites?

We socialize and do some activity on these sites!

Professional Recommendations

What do you do on these sites?

We socialize and do some activity on these sites!

And so on…..

How do we socialize online without

having to create yet another

social network?

OpenSocial

A common open set of APIs for building social applications across

multiple sites

This is NOT GoogleSocial. It’s about making the Web more

social, not just Google.

Standards-based

html+javascript+REST+OAuth

Lets see some examples

Back to the original Question

What is OpenSocial?

What is OpenSocial?

When you write an Application for a OpenSocial Container (e.g Orkut) it • gives you access to your Friends

What is OpenSocial?

When you write an Application for a OpenSocial Container (e.g Orkut) it • gives you access to your Friends• allows you to read write updates (Activity

Stream)

What is OpenSocial?

When you write an Application for a OpenSocial Container (e.g Orkut) it • gives you access to your Friends• allows you to read write updates (Activity

Stream)• allows you to store and share some information

with your friends

What is OpenSocial?

It turns sites like Orkut into a platform for developers to write more applications and allows users to install these on top of applications like Orkut

So along with sending scraps, you can now interact with your friends in a number of ways. Chat with them, play games with them, plan your hangout places, all without leaving Orkut.

OpenSocial Users – Owner and Viewer

• Two main user roles – Owner and Viewer• Owner is the user who has installed a gadget.– Owner may be a person, an organization or a social object like a music album• Viewer is the user who views the gadget• Viewer and Owner may or may not be related.

Owner and Viewer Relationship

Owner and Viewer Relationship

OpenSocial API

• JavaScript - version 0.8 production– Standard Web development technologies– HTML + Javascript• Can integrate with 3rd party server– REST Services– AtomPub and JSON formats• Templates– Draft phase

Understanding Gadget XML

Understanding Gadget Initialization

Requesting Friend’s List

Requesting Friend’s List

OpenSocial Glossary

• Container – Sites which have OpenSocial Features like Orkut

• User – Who use these sites

• Developer – Who develop applications for OpenSocial Sites

Why OpenSocial?

• Developer : Distribution to 275 Million people

• Containers : More Features• User : More Applications

Why OpenSocial?

When you develop an application-• How do you bring people to your

application?

OR

• Do you take your application to people?

Questions?

?

Links

• OpenSocial - http://code.google.com/apis/opensocial/

References

• OpenSocial Presentation from Google IO 2008

• OpenSocial Presentation at Indic Threads• OpenSocial Site at http://code.google.com

Disclaimer

• The social networking site Orkut is used in many slides, just for the reason, that the audience is very familiar with this site.

• This presentation has no indentation to highlight one social networking site over other

top related