Lab #3: Programming Exercises for Social Web APIs By J. H. Wang Dec. 26, 2011.

Slides:



Advertisements
Similar presentations
The How of OAuth OAuth Hackathon – Six Apart
Advertisements

Overview of Twitter API Nathan Liu. Twitter API Essentials Twitter API is a Representational State Transfer(REST) style web services exposed over HTTP(S).
Whats new with social media Dean Chew SEO Consultant Ayima Search Marketing.
Authentication Simon Cross Partner Engineer facebook.com/sicross An Overview.
The Graph API Simon Cross Partner Engineer facebook.com/sicross An Overview.
Social Channels Cat Lee Program Manager, Developer Relations facebook.com/cat Driving traffic to your app.
OAuth 2.0 By “PJ” (JP on meetup.com) iOS and PHP developer, and occasional lawyer Contact me via:
National Network of Libraries of Medicine MidContinental Region Social Media & Privacy: Take Control Rebecca Brown: Dykes Health Sciences Library AND Sharon.
PSRC Technology Integration Team TWITTER 101.  Twitter is a social networking tool or microblog.  It is composed of short text, pictures, and URLs called.
SOCIAL MEDIA 101 EXPLORING FACEBOOK, TWITTER, AND MARKETING.
WORDPRESS WEBSITE WORKSHOP Part 1: Building a Web Presence with WordPress Karen & Brad Trivers (902)
Social Network Services Twitter, Facebook and Flickr.
Social Networking: Facebook, Twitter, and Google+ Mary Rotman Publicist, O’Reilly Media.
National Center for Supercomputing Applications University of Illinois at Urbana-Champaign This material is based upon work supported by the National Science.
Putting Social Media to Work for You By Jay Jenkins With thanks to Connie Hancock and Jenny Nixon UNL Extension Educators.
Social Media Motion: How to Get Started & Keep Going With Facebook, Twitter & More Presented by Eli Lilly and Company Hosted by Rob Robinson McNeely Pigott.
Project Presentation. Outline 1.Application features 2.Application interfaces 3.Technology and API 4.Improvement over iShare 5.Challenges 6.Future work.
Web Services 101 James Payne Managing Director for New Media / Advancement July 30, 2013.
WordPress Chapter 12: Attracting a Crowd BTM 395: Internet Programming WordPress: The Missing ManualWordPress: The Missing Manual by Matthew MacDonald.
Finalsite Web Tech Event January 26, 2011 Hosted by Sacred Heart Schools.
Created by Amber Craddock, Kylee Stone & Caleb Truette.
What is LinkedIn?  Launched in 2003  200 Million Users  Publically held company (LNKD)  December 2012 Q4 earnings $300 million  Most popular B2B Network.
SOCIAL NETWORKS AND THEIR IMPACTS ON BRANDS Edwin Dionel Molina Vásquez.
Utilizing Social Media & Multimedia Communications.
FTP (File Transfer Protocol) & Telnet
Why Use Social Media for Rotary? Peter Borner The Rotary Club of Towcester.
Wyatt Pearsall November  HyperText Transfer Protocol.
Twitter.  Twitter is a social networking and micro-blogging service that enables its users to send and read other user’s updates.
The New SIMnet.org with Social Networking User Orientation Notes June 21,
Using Skype to Communicate with Family and Friends Presented by: Karla Lechuga.
Visiting Angels Presenter: Social Angel Facebook.com/VisitingAngelsCorporate Social Care.
Poll Day Webcasting Training Program. System Requirements -  Desktop/Laptop with following configurations  Dual/Quad Core processor  2 GB RAM  Web.
Teens and Library 2.0 How we mix the two and come up with great results! = !
Social Media 101 An Overview of Social Media Basics.
Getting Started Copyright 2010 Peoplemovers.com, All rights reserved.
 Facebook Integration on iOS Phan Thanh Phat Huynh Thanh Van.
1-1 HTTP request message GET /somedir/page.html HTTP/1.1 Host: User-agent: Mozilla/4.0 Connection: close Accept-language:fr request.
FaceBook…. Really?? FaceBook…. Really?? Social networking & Facebook Pam Krambeck, ESU#3
Twitter 101. What is Twitter? Twitter is a social networking and micro-blogging service that enables its users to send and read other user’s updates.
Facebook API Kelly Orser. Client Libraries Client libraries will simplify the calls to the platform by reducing the amount of code you have to write.
WEB 2.0 TOOLS VIDEO HOSTING SITE YOUTUBE. WHAT IS YOUTUBE? Youtube is a video hosting site were anyone can upload videos expressing their talents, interests.
Erin Winter March 25 th, 2009 Mr. Tieri.  Talk to friends, family, co-workers etc.  Share pictures  Meet new people & Connect with old friends  Send.
Lab #2: Web API Programming Exercises By J. H. Wang Dec. 19, 2011.
COM 354 New Media Ethics Robert Bodle IR11 - GöteborgGöteborg.
Mytweetmark is a platform of web 2.0 technologies and services that helps customers reach out to larger audience and customers while increasing followers.
FACEBOOK Material adapted from
Facebook for Beginners One Session Class. What will you learn today? What can you do on Facebook? Creating a profile Privacy Connecting with friends Sending.
Facebook 101 This class contains content from Saint Paul Public Libraries, Project for Pride in Living, and GCFLearnFree.org.
Fakebook {Insert Greek Name} WallPhotosFlairBoxes{Insert Student Name}Logout View photos Send a message Poke message Wall InfoPhotosBoxes Write something…
Dark Gray Header Text Blue Header Text Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi in ligula at mi interdum tempus. Nam urna metus,
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Internet Safety Blog
Virtual techdays INDIA │ November 2010 Integrating Social Networks with ASP.NET Krishna Chaitanya T │ Future Web Research Lab, SETLabs, Infosys WE.
Building a Social Media Presence Participants will look at the BCPS social media outlets (Twitter, Facebook, Flickr, Vimeo, Instagram, blogs) and relevant.
Linked Data & Semantic Web Technology Development of Twitter Applications Part 1. Overview Dr. Myungjin Lee.
Mastering the AUPHA Network Kristi Donovan, MS, CAE Senior Director, Professional Affairs 2012 AUPHA Annual Meeting June 2, 2012.
By Samantha Kozar.  What are social networks?  What is Facebook?  What is Gowalla?  What are the capabilities of these sites?  Privacy Settings 
LITA & Social Media: Using Social Software to Connect with Members Task: Determine the appropriate "social software" functionality to deploy to meet the.
CREATED BY : ARCHANA L. TULSANI.  What is a Social networking site ?  Different Social networking sites(SNS)  Uses of SNS  Reasons for increasing.
Development of Internet Application Web API Ing. Jan Janoušek 9.
WMarket For Developers API && Authorization.
All about social networking
Social Networks Integration in Android
Dominik Pinter, CMS.IO, Authentication Dominik Pinter,
In the Classroom.
Sitecore Social Connected
online newspaper’s journalists
D Guidance 26-Jun: Would like to see a refresh of this title slide
Presentation transcript:

Lab #3: Programming Exercises for Social Web APIs By J. H. Wang Dec. 26, 2011

Outline Twitter/Plurk API Facebook API Other Social APIs

Twitter API To start programming with Twitter API – Document: – Using OAuth to gain authorized access – Start using the three APIs Rest API Search API Streaming API

OAuth (Open Authorization) An open standard for authorization – OAuth 1.0 (RFC 5849) – OAuth 2.0 (work in progress) Allowing users to hand out tokens instead of credentials (username, passwords) – Obtain access tokens to act on behalf of a user account 3-legged OAuth … Authorize all HTTP requests

Example POST /1/statuses/update.json?include_entities=true HTTP/1.1 Accept: */* Connection: close User-Agent: OAuth gem v0.4.4 Content-Type: application/x-www-form-urlencoded Content-Length: 76 Host: api.twitter.com status=Hello%20Ladies%20%2b%20Gentlemen%2c% 20a%20signed%20OAuth%20request%21

With OAuth 1.0a Authorization: OAuth oauth_consumer_key="xvz1evFS4wEEPTGEFPHBog", oauth_nonce="kYjzVBB8Y0ZFabxSWbWovY3uYSQ2pT gmZeNu2VS4cg", oauth_signature="tnnArxj06cWHq44gCs1OSKk%2FjL Y%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp=" ", oauth_token=" GmHxMAgYyLbNEtIKZeRNFsMKPR9EyMZeS9weJAEb", oauth_version="1.0"

Twitter APIs Rest API – Providing twitter functions: read, write, read DM Search API – Real-time search index Streaming API – HTTP long poll connection

Rate Limits 350 OAuth calls /user /hour /IP Limits on the number of tweets / DMs Limits on the number of follows/unfollows per day

Plurk API 2.0 Document: Sign un a plurk application – Not api_key needed Requests should be signed using OAuth 1.0a JSON encoded Plurk API libraries and OAuth libraries available

Facebook API Login facebook account, and set up new applications Authorization – OAuth Dialog recommended Social channels – Feed, requests,

Facebook Graph API Objects: – E.g.: or – Users, pages, events, groups, applications, status messages, photos, albums, videos, notes, … Relationships – E.g.: / /<CONNECTION_TYPE – Friends, news feed, likes, movies, music, books, notes, tags, groups, …

Searching – &type= &type=<ob j_type – obj_type: post, user, page, event, group, place, checkin Authorization – OAuth 2.0 Graph API Explorer

Facebook Social Plugins Buttons: like, send, subscribe, login Comments, activity feed, recommendations Registration, live stream, …

Other Social APIs Google+ API – GET serId – key: API key – access_token: OAuth 2.0 token – JSON data format

Google Social Graph API – ? & & ?<p aram_1>& &<param_n – Methods lookup otherme testparse geturl

Thanks for Your Attention!