Twitter Update for Social Developers London - March 2013

Post on 30-Jun-2015

212 views 1 download

description

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

Transcript of 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

Tweets, Users, Entities and Places

WHEREVER YOU ARE, TWITTER BRINGS YOU CLOSER

Twitter news

API 1.1

OAuth

Metadata

Ads API

Hosebird

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

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

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

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

Twitter Ads API

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?

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

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

Tweet metadata

Anatomy of a tweet

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"

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

Hosebird

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

Thank youPresentations are available from Slideshare

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