27. https://www.googleapis.com/buzz/v1/
http://code.google.com/p/buzz-php-client/
http://code.google.com/p/buzz-python-client/
http://code.google.com/p/buzz-java-client/
Friday, July 9, 2010
28. https://www.googleapis.com/buzz/v1/
alt
• alt=atom returns an Atom representation of the data.
• alt=json returns a JSON representation of the data.
prettyprint
• If prettyprint=true, the results returned by the server will be human readable
• Default: prettyprint=false
https://www.googleapis.com/buzz/v1/activities/@me/@self?alt=json&prettyprint=true
Friday, July 9, 2010
29. https://www.googleapis.com/buzz/v1/
• preview=true preview the operation.
• max-results=N maximum number of results.
• max-liked=N maximum number of likes
• max-comments=N maximum number of comments
• c={token} continuation token
https://www.googleapis.com/buzz/v1/activities/@me/@self?max-results=20&c={token}
Friday, July 9, 2010
30. https://www.googleapis.com/buzz/v1/
• q={query} search.
• lat, lon, radius geo location.
• bbox bounding box.
https://www.googleapis.com/buzz/v1/activities/search?q={q}&lat={l}&lon={l}&radius={r}
Friday, July 9, 2010
52. Verbs Objects
Favorite Article Photo
Follow Audio Photo Album
Friend Bookmark Place
Join Comment Playlist
Play File Product
Post Folder Review
Save Group Service
Share List Status
Tag Note Video
Update Person
Friday, July 9, 2010
53. Verbs Objects
Favorite Article Photo
Follow Audio Photo Album
Friend Bookmark Place
Join Comment Playlist
Play File Product
Post Folder Review
Save Group Service
Share List Status
Tag Note Video
Update Person
Friday, July 9, 2010
100. Sign-In & Auth for Buzz
client = buzz.Client()
client.build_oauth_consumer(
OAUTH_CONSUMER_KEY,
OAUTH_CONSUMER_SECRET
)
client.oauth_scopes.append(
buzz.FULL_ACCESS_SCOPE
)
Friday, July 9, 2010
101. Sign-In & Auth for Buzz
request_token =
client.fetch_oauth_request_token(
'http://example.com/oauth/callback/'
)
# Save request token to the data store
authorization_url =
client.build_oauth_authorization_url(
request_token
)
Friday, July 9, 2010
102. Sign-In & Auth for Buzz
# User visits the authorization_url
Friday, July 9, 2010
104. Sign-In & Auth for Buzz
verifier = request.get('oauth_verifier')
# Lookup request_token in data store
client.oauth_request_token = request_token
access_token =
client.fetch_oauth_access_token(verifier
)
# Save access token to the data store
Friday, July 9, 2010
106. Generate Board
# Create a new board
topic_choices =
copy(models.board.TOPIC_LIST)
topics = []
# Select 24 topics at random.
# Center square is free space.
while(topic_choices and len(topics) < 24):
element = random.choice(topic_choices)
topic_choices.remove(element)
topics.append(element)
Friday, July 9, 2010
107. Generate Board
for x in xrange(5):
for y in xrange(5):
if x != 2 or y != 2:
# We skip over the 'Free Space'
square = models.board.Square(
parent=self,
key_name=('%d:%d' % (x, y)),
topic=topics.pop()
)
square.put()
board[x][y] = square
Friday, July 9, 2010
110. Board Marked
for topic in models.board.TOPIC_LIST:
if comment_text.find(topic.lower()) != -1:
topics_found.add(topic)
# Calculate the topics we can score on
intersection = [
topic for topic in player.topics
if topic in topics_found
]
if intersection and
not player.has_post_scored(post_id):
scoring_topic = random.choice(intersection)
player.score_post(
post_id, post_uri, scoring_topic
)
Friday, July 9, 2010
111. Board Marked
if post.attachments:
for attachment in post.attachments:
if attachment.type == 'article':
self.award_badge('share')
break
if post.geocode and
post.actor.id != self.key().name():
self.award_badge('geo')
elif post.geocode:
self.award_badge('mobile')
Friday, July 9, 2010
112. Board Marked
# Create the attachments for the post
badge_attachment = buzz.Attachment(
type='photo', enclosure=badge.badge_icon
)
link_attachment = buzz.Attachment(
type='article',
title='Buzz Bingo',
uri='http://buzz-bingo.appspot.com/'
)
Friday, July 9, 2010
113. Board Marked
# Assemble our announcement Buzz post
badge_post = buzz.Post(
content=post_content,
attachments=[
badge_attachment,
link_attachment
],
geocode=VENUE_GEOCODE,
place_id=VENUE_PLACE_ID
)
# Create the post
self.client.create_post(badge_post)
Friday, July 9, 2010
115. Bingo!
horizontal_counts = [0, 0, 1, 0, 0]
vertical_counts = [0, 0, 1, 0, 0]
for x in xrange(5):
for y in xrange(5):
if self.board[x][y] and
self.board[x][y].post_id:
horizontal_counts[y] += 1
vertical_counts[x] += 1
Friday, July 9, 2010
116. Bingo!
if (5 in horizontal_counts) or
(5 in vertical_counts):
self.award_badge('bingo')
if not self.bingo_count:
self.bingo_count = 0
self.bingo_count += 1
self.put()
Friday, July 9, 2010
117. Buzz Bingo is open source!
code.google.com/p/buzz-bingo
buzz-bingo.appspot.com
Friday, July 9, 2010
125. Idea Starters
• Multi-site photo viewer: consume photos and render them in a lightbox
• Event search (like BuzzWatching: restrict by date, and add location as well):
deal with the types and generate different renderings. Tweak ranking by
weighting
• Best Of Day/Week/Month viewer
• Community Finder: cluster people in your extended social around a topic
• People Finder: find people in your geographical area who have similar
interests
Friday, July 9, 2010
126. Idea Starters
• Trending topics. Topics or posts that are accelerating in the last N minutes.
• Hot places: FInd places that have the most activity within a given geographic
area.
• Buzz List (like Reader bundles): Allow users to create and share collections of
other users. Allow them the ability to subscribe to lists of other users.
• Auto-follow: based on my remote account (e.g. Flickr)
• Spoiler detection: scan the user's consumption API and mute posts that talk
about certain TV shows.
Friday, July 9, 2010
Notes de l'éditeur
Intro: The Conversational Web -Chris Chabot, Chris Messina, Joseph Smarr, John Panzer, Will Norris -Good internet conversations -Post, rich media, links -Inline comments -Mentions Google Buzz
Intro: The Conversational Web -Chris Chabot, Chris Messina, Joseph Smarr, John Panzer, Will Norris -Good internet conversations -Post, rich media, links -Inline comments -Mentions Google Buzz
Intro: The Conversational Web -Chris Chabot, Chris Messina, Joseph Smarr, John Panzer, Will Norris -Good internet conversations -Post, rich media, links -Inline comments -Mentions Google Buzz
Intro: The Conversational Web -Chris Chabot, Chris Messina, Joseph Smarr, John Panzer, Will Norris -Good internet conversations -Post, rich media, links -Inline comments -Mentions Google Buzz
Intro: The Conversational Web -Chris Chabot, Chris Messina, Joseph Smarr, John Panzer, Will Norris -Good internet conversations -Post, rich media, links -Inline comments -Mentions Google Buzz
Intro: The Conversational Web -Chris Chabot, Chris Messina, Joseph Smarr, John Panzer, Will Norris -Good internet conversations -Post, rich media, links -Inline comments -Mentions Google Buzz
Intro: The Conversational Web -Chris Chabot, Chris Messina, Joseph Smarr, John Panzer, Will Norris -Good internet conversations -Post, rich media, links -Inline comments -Mentions Google Buzz
Salmon
This is the basis for activity streams which is quickly becoming how we describe all user activity online.
Your Identity
Your Activity
Your Objects
okay, let’s be honest...
- On the Boxee home screen, you see a list of items from Google Buzz in your feed. - You click on one that looks interesting.
- It then shows you the buzz comment and links you to the video - Hit play to start watching the video.
- And there you are. -Once you've decided you want to Buzz something, hit share.
- Enter custom text or just tell your followers you love it and send them a link. We think this type of shared recommendation is going to be really cool and you can check it out now on Boxee.
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
Buzzword Bingo Overview
-The application begins an OAuth flow against the current user's personal feed -This provides the app with a verified link to the current user's Google profile -The profile URI is what's used for cross-referencing Buzz comments with players -A side-effect is that only users with public profiles can play
-The application begins an OAuth flow against the current user's personal feed -This provides the app with a verified link to the current user's Google profile -The profile URI is what's used for cross-referencing Buzz comments with players -A side-effect is that only users with public profiles can play
-The application begins an OAuth flow against the current user's personal feed -This provides the app with a verified link to the current user's Google profile -The profile URI is what's used for cross-referencing Buzz comments with players -A side-effect is that only users with public profiles can play
Buzzword Bingo Overview
-The application begins an OAuth flow against the current user's personal feed -This provides the app with a verified link to the current user's Google profile -The profile URI is what's used for cross-referencing Buzz comments with players -A side-effect is that only users with public profiles can play
Buzzword Bingo Overview
-The bingo card is generated randomly from a preset list of topics. -The bingo card is saved and associated with the player's profile in the App Engine data store.
-The bingo card is generated randomly from a preset list of topics. -The bingo card is saved and associated with the player's profile in the App Engine data store.
Buzzword Bingo Overview
Buzzword Bingo Overview
-Whenever a player joins a conversation in Buzz that mentions one of the topics on their bingo card, they can @-mention the game's account. -This causes the conversation to appear in the game's consumption feed. -The game polls this feed and identifies any new conversations. -Polling is done via asynchronous App Engine Scheduled Tasks and Cron Jobs. -The feed is cached for performance reasons. -The game reads each new conversation and gives each player in the conversation credit for one of their matching game squares.
-Whenever a player joins a conversation in Buzz that mentions one of the topics on their bingo card, they can @-mention the game's account. -This causes the conversation to appear in the game's consumption feed. -The game polls this feed and identifies any new conversations. -Polling is done via asynchronous App Engine Scheduled Tasks and Cron Jobs. -The feed is cached for performance reasons. -The game reads each new conversation and gives each player in the conversation credit for one of their matching game squares.
-Whenever a player joins a conversation in Buzz that mentions one of the topics on their bingo card, they can @-mention the game's account. -This causes the conversation to appear in the game's consumption feed. -The game polls this feed and identifies any new conversations. -Polling is done via asynchronous App Engine Scheduled Tasks and Cron Jobs. -The feed is cached for performance reasons. -The game reads each new conversation and gives each player in the conversation credit for one of their matching game squares.
-Whenever a player joins a conversation in Buzz that mentions one of the topics on their bingo card, they can @-mention the game's account. -This causes the conversation to appear in the game's consumption feed. -The game polls this feed and identifies any new conversations. -Polling is done via asynchronous App Engine Scheduled Tasks and Cron Jobs. -The feed is cached for performance reasons. -The game reads each new conversation and gives each player in the conversation credit for one of their matching game squares.
Buzzword Bingo Overview
-Once enough game squares get filled in, the player will score a 'Bingo'. -The game will notify the player that they've achieved a 'Bingo' by sending out a post and @-mentioning the player.
-Once enough game squares get filled in, the player will score a 'Bingo'. -The game will notify the player that they've achieved a 'Bingo' by sending out a post and @-mentioning the player.
Next cool application: you The google buzz api is now live