twitter update for social developers london - march 2013

15
Twitter news for developers March 2013 Angus Fox Deputy Secretary, Social Developers London Director, Multizone Limited Twitter: @nuxnix This talk draws on information from dev.twitter.com but is in no way endorsed by Twitter Corporation #justsaying

Upload: angus-fox

Post on 30-Jun-2015

214 views

Category:

Technology


1 download

DESCRIPTION

My presentation about whats going on for Twitter developers for March 2013 Social Developers London meetup

TRANSCRIPT

Page 1: Twitter Update for Social Developers London - March 2013

Twitternews for developersMarch 2013

Angus FoxDeputy Secretary, Social Developers London

Director, Multizone Limited

Twitter: @nuxnix

This talk draws on information from dev.twitter.com but is in no way endorsed by Twitter Corporation #justsaying

Page 2: Twitter Update for Social Developers London - March 2013

Tweets, Users, Entities and Places

WHEREVER YOU ARE, TWITTER BRINGS YOU CLOSER

Page 3: Twitter Update for Social Developers London - March 2013

Twitter news

API 1.1

OAuth

Metadata

Ads API

Hosebird

Page 4: Twitter Update for Social Developers London - March 2013

API 1.1 plus Oauth 1.0aWell it is live so its not something to prepare for now – old stuff wont work

1.1 is live most endpoints require

authenticationslight change to

Oauth flow

Page 5: Twitter Update for Social Developers London - March 2013

ThinkUp Upgrades to API 1.1

The transition was painless, and ThinkUp came out of it with cleaner, leaner, and smarter code.

The API 1.1 changes affected ThinkUp in two major ways, and a few minor ones.

First, per-endpoint rate limiting meant revisiting usage throttling approach. more calls per hour than it had before. 15 minutes enforcement instead of every 60, means users

can update their data more often without maxing out. API 1.1 pushed ThinkUp to move from consuming XML

to JSON Twitter data. Adjusting the visual layout of tweets in the insights

stream to comply with Twitter’s Display Requirements.http://blog.thinkup.com/post/43794639806/thinkup-upgrades-to-twitter-api-1-1

Page 6: Twitter Update for Social Developers London - March 2013

Changes to 'Sign in with Twitter’

Twitter supports OAuth 1.0a Allow this application to use 'Sign

in with Twitter' has returned to the flow So applications can explicitly define

their intended authorization behavior. This change allows automatic

redirection only for applications that request it.

Applications that use /oauth/authenticate and rely on the automatic redirection behavior for logged-in users must enable this "Sign in with Twitter" option.

If the option is not enabled, users will instead be directed to /oauth/authorize and will then be prompted to complete the application approval flow.

Source: http://en.wikipedia.org/wiki/OAuth

Page 7: Twitter Update for Social Developers London - March 2013

Ads APIThe first place to start is at dev.twitter.com

Twitter Ads API

Page 8: Twitter Update for Social Developers London - March 2013

Ads API is for ‘selected partners’

The Twitter Ads API gives partners a way to integrate Twitter advertising management in their product. Selected partners have the ability create their own tools to manage Twitter Ad campaigns while easily integrating into existing, cross-channel advertising management solutions.What does ‘selected’ mean?

Page 9: Twitter Update for Social Developers London - March 2013

Please fill this questionnaire to apply

We are looking for a limited number of partners We are only able to work with a select number of

partners at this time to allow us to collaborate at the level we feel is required.

If you are interested in integrating the Twitter Ads API and joining the Twitter Ads API program, please help understand your partnership opportunity through the application below.

We will schedule follow on discussions with partners that are a potential fit, so please only go into enough detail to help us understand the potential opportunity in working together.

Ads Products will be a part of the Twitter Certified Products Program.

https://dev.twitter.com/form/apply-access-twitter-ads-apiStrong hints here

Page 10: Twitter Update for Social Developers London - March 2013

140 characters.. Yeah rightThe first place to start is at dev.twitter.com

Tweet metadata

Page 11: Twitter Update for Social Developers London - March 2013

Anatomy of a tweet

Page 12: Twitter Update for Social Developers London - March 2013

New metadata for Tweets"status": { "created_at": "Tue Oct 30 21:12:37 +0000 2012", "id": 263387958047027200, "id_str": "263387958047027200", "text": "Better late than never, statuses/retweets_of_me is joining the API v1.1 method roster: https://t.co/jYz3MJnb ^TS", "geo": null, "coordinates": null, "place": null,

"filter_level": "medium", "lang": "en", ...}

• filter_level is intended for applications which display a selection of Tweets from a stream

• lang is a supported BCP 47 language identifier, or "und"

Page 13: Twitter Update for Social Developers London - March 2013

Hosebird Client Java-based client for Twitter's Streaming APIs

Hosebird

Page 14: Twitter Update for Social Developers London - March 2013

WTF is Hosebird?

Suitable for any level of streaming access — from a low-volume track connection all the way up to the entire stream of public Tweets

The first API client library Twitter has released to the world. OAuth integration, GZip support, Reconnect logic which follows best practices.

Writing a Java application which consumes streaming data is now remarkably direct

Page 15: Twitter Update for Social Developers London - March 2013

Thank youPresentations are available from Slideshare

http://www.slideshare.net/nuxnix/