top 5 tips for building viral social web applications and sites

55
Top 5 Tips for Building Viral Social Web Applications and Sites Jonathan LeBlanc Developer Evangelist Email: [email protected] Twitter: @jcleblanc

Upload: jonathan-leblanc

Post on 08-May-2015

1.171 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Top 5 Tips for Building Viral Social Web Applications and Sites

Top 5 Tips for Building Viral Social Web Applications and Sites

Jonathan LeBlancDeveloper Evangelist

Email: [email protected]

Twitter: @jcleblanc

Page 2: Top 5 Tips for Building Viral Social Web Applications and Sites

Programming Social Applications Building Viral Experiences with OpenSocial, OAuth, OpenID, and Distributed Web Frameworks

http://shop.oreilly.com/product/0636920014201.do

Foundation for socializing applications and websites.

Open Source foundation.

Page 3: Top 5 Tips for Building Viral Social Web Applications and Sites

Using Open Source Solutions The foundation for “Programming Social Applications”

Open source is not the be all end all, it’s simply a solid foundation.

Page 4: Top 5 Tips for Building Viral Social Web Applications and Sites

The Core Principals

Build for the relevant social & interest graphs

Understand your sharing model and integrate early

Use the work that other companies have invested in

Build for all available outlets

Use emerging social technologies

Page 5: Top 5 Tips for Building Viral Social Web Applications and Sites

The Core Principals

Build for the relevant social & interest graphs

Understand your sharing model and integrate early

Use the work that other companies have invested in

Build for all available outlets

Use emerging social technologies

Page 6: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for relevant graphs A Poll

When do you integrate social outreach channels in your products?

Page 7: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for relevant graphs What do social and interest graphs consist of?

Page 8: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for relevant graphs Understanding Relationship Models

Follower Model

Connection Model

Group Model

Page 9: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for relevant graphs Integration Success and Failure of Zynga

• First round of “Mafia Wars” as an initial game partner for YAP in 2009. Failed to produce high install rates and difficult to integrate.

• Second integration of “Mafia Wars” and “FishVille” in late 2010. Higher install rates, new viral channels and little integration pain.

Page 10: Top 5 Tips for Building Viral Social Web Applications and Sites

http://code.google.com/p/webfinger/

Build for relevant graphs Example Technology: WebFinger

Page 11: Top 5 Tips for Building Viral Social Web Applications and Sites

Login name: jleblancIn real life: Jonathan LeBlancHome phone: 123-4567Office: San Jose, CALast Login: Tue Oct 4 12:41 on ttys000

[email protected]://www.jcleblanc.com

finger [email protected]

Build for relevant graphs WebFinger: Origin through the finger protocol

Page 12: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for relevant graphs WebFinger: How it Works

Page 13: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for relevant graphs WebFinger: How it Works

Page 14: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for relevant graphs WebFinger: How it Works

Page 15: Top 5 Tips for Building Viral Social Web Applications and Sites

<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0' xmlns:hm='http://host-meta.net/xrd/1.0'> <hm:Host xmlns='http://host-meta.net/xrd/1.0'> gmail.com</hm:Host> <Link rel='lrdd' template= 'http://www.google.com/s2/webfinger/?q={uri}'> <Title>Resource Descriptor</Title> </Link></XRD>

curl http://gmail.com/.well-known/host-meta

Build for relevant graphs WebFinger: Performing WebFinger Discovery

Page 16: Top 5 Tips for Building Viral Social Web Applications and Sites

The User Profile: http://www.google.com/profiles/nakedtechnologist

The portable contacts link: http://www-opensocial.googleusercontent.com/api/people/118167121283215553793/

The public Google Buzz feed: https://www.googleapis.com/buzz/v1/activities/118167121283215553793/@public

curl http://www.google.com/s2/webfinger/[email protected]

Build for relevant graphs WebFinger: Performing WebFinger Discovery

Page 17: Top 5 Tips for Building Viral Social Web Applications and Sites

The Core Principals

Build for the relevant social & interest graphs

Understand your sharing model and integrate early

Use the work that other companies have invested in

Build for all available outlets

Use emerging social technologies

Page 18: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model The real life versus online social graph

Page 19: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model Sharing Models

The Opt-in Model

The Opt-out Model

Page 20: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model Case study: The oversharing application

Page 21: Top 5 Tips for Building Viral Social Web Applications and Sites

http://code.google.com/p/pubsubhubbub/

Understanding your sharing model Example Technology: PubSubHubbub

Page 22: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model PubSubHubbub: How it Works

Page 23: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model PubSubHubbub: How it Works

Page 24: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model PubSubHubbub: How it Works

Page 25: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model PubSubHubbub: How it Works

Page 26: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model PubSubHubbub: How it Works

Page 27: Top 5 Tips for Building Viral Social Web Applications and Sites

www.salmon-protocol.org

Understanding your sharing model Example Technology: The Salmon Protocol

Page 28: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model The Salmon Protocol: How it Works

Page 29: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model The Salmon Protocol: How it Works

Page 30: Top 5 Tips for Building Viral Social Web Applications and Sites

Understanding your sharing model The Salmon Protocol: How it Works

Page 31: Top 5 Tips for Building Viral Social Web Applications and Sites

• How does the publisher prevent spam or abuse?

• Is the content coming from a trusted source?

• How does the publisher ensure the quality of the updates?

Understanding your sharing model The Salmon Protocol: Things to Consider

Page 32: Top 5 Tips for Building Viral Social Web Applications and Sites

1. Subscriber sends signed request to publisher (e.g. using acct:[email protected]).

2. Publisher performs discovery on endpoint to verify identity provider.

• Webfinger• LRDD (Link-based Resource Descriptor)

3. Provider verifies signature via public keys obtained during discovery.

Understanding your sharing model The Salmon Protocol: Determining Source

Page 33: Top 5 Tips for Building Viral Social Web Applications and Sites

The Core Principals

Build for the relevant social & interest graphs

Understand your sharing model and integrate early

Use the work that other companies have invested in

Build for all available outlets

Use emerging social technologies

Page 34: Top 5 Tips for Building Viral Social Web Applications and Sites

Use Existing Technology Don’t reinvent the wheel!

Page 35: Top 5 Tips for Building Viral Social Web Applications and Sites

• Third round partner integrating with our social services.

• They created their own OAuth implementation since we did not have an appropriate SDK.

• Integration failed near completion of the code.

Use Existing Technology Partner Strategies: Failure to Integrate Company “ABC”

Page 36: Top 5 Tips for Building Viral Social Web Applications and Sites

Use Existing Technology Example Technology: The Open Graph Protocol

http://ogp.me/

Page 37: Top 5 Tips for Building Viral Social Web Applications and Sites

Use Existing Technology Open Graph Protocol: How Web Semantics Work

Page 38: Top 5 Tips for Building Viral Social Web Applications and Sites

Geo<span class="geo"> <span class="latitude">52.48</span>, <span class="longitude">-1.89</span></span>

vCard<div class="vcard"> <div class="fn">Joe Doe</div> <div class="org">The Example Company</div> <div class="tel">604-555-1234</div> <a class="url" href="http://site.com/">http://site.com/</a> </div>

Use Existing Technology Open Graph Protocol: How Web Semantics Work

Page 39: Top 5 Tips for Building Viral Social Web Applications and Sites

Use Existing Technology Open Graph Protocol: Vision of the Semantic Web

Page 40: Top 5 Tips for Building Viral Social Web Applications and Sites

Use Existing Technology Open Graph Protocol: Reality of the Semantic Web

Page 41: Top 5 Tips for Building Viral Social Web Applications and Sites

Use Existing Technology Open Graph Protocol: What Changed

Page 42: Top 5 Tips for Building Viral Social Web Applications and Sites

<html xmlns:og="http://ogp.me/ns#"><head><title>Restaurant at Wente Vineyards – Livermore</title><meta property="og:url" content="http://www.yelp.com/biz/gATFcG9HTaXJpg"><meta property="og:type" content="restaurant"> <meta property="og:title" content="The Restaurant at Wente Vineyards"> <meta property="og:image" content="http://media2.px.yelpcdn.com/iVSnIs"> ...</head>...</html>

Use Existing Technology Open Graph Protocol: The Metadata Format

Page 43: Top 5 Tips for Building Viral Social Web Applications and Sites

• Basic Metadata• Location• Contact Information• Video Data• Audio Data• Objects

• Activities• Businesses• Groups• Organizations

• People• Places• Products and Entertainment• Websites

Use Existing Technology Open Graph Protocol: What is Defined?

Page 44: Top 5 Tips for Building Viral Social Web Applications and Sites

The Core Principals

Build for the relevant social & interest graphs

Understand your sharing model and integrate early

Use the work that other companies have invested in

Build for all available outlets

Use emerging social technologies

Page 45: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for all available outlets Being Platform Agnostic

• Facebook was a primary outlet for Zynga when they integrated OpenSocial containers.

• They built an abstraction layer on top of every platform. One game, multiple endpoints.

Page 46: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for all available outletsExample Technology: OpenSocial

Foundation Specification for Social Applications and Containers.

Shindig is a practical implementation of OpenSocial.

Partuza is a sample social container.

Page 47: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for all available outletsOpenSocial View Foundations

Profile FullHome

Page 48: Top 5 Tips for Building Viral Social Web Applications and Sites

Build for all available outletsExample Technology: Activity Streams

Defines a social activity

Platform agnostic

Integrated into OpenSocial

Page 49: Top 5 Tips for Building Viral Social Web Applications and Sites

The Core Principals

Build for the relevant social & interest graphs

Understand your sharing model and integrate early

Use the work that other companies have invested in

Build for all available outlets

Use emerging social technologies

Page 50: Top 5 Tips for Building Viral Social Web Applications and Sites

Use emerging social technologies The early bird gets the worm

• By the time a system is popular, your chances of making headway are slim.

• Dedicate resources to working on and contributing to open systems

Page 51: Top 5 Tips for Building Viral Social Web Applications and Sites

Use emerging social technologies How lack of innovation lead to failure in YDN

Failure to move quickly on new technologies.

Security prevented innovation.

Not seen as a technology leader.

Page 52: Top 5 Tips for Building Viral Social Web Applications and Sites

Use emerging social technologies A Poll

Do you or your companies allot time for emerging technologies?

Page 53: Top 5 Tips for Building Viral Social Web Applications and Sites

Use emerging social technologies Authorization Systems – OAuth 1

Authorize applications and sites to do something on your behalf.

Signing done on side of integrator.

Lengthy integration process.

Page 54: Top 5 Tips for Building Viral Social Web Applications and Sites

Use emerging social technologies Authorization Systems – OAuth 2

Significantly improved integration time.

Communication over HTTPS

Page 55: Top 5 Tips for Building Viral Social Web Applications and Sites

Questions? Jonathan LeBlancTwitter: @jcleblanc

E-Mail: [email protected]

http://www.slideshare.net/jcleblanc