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.

Slides:



Advertisements
Similar presentations
LiNC Developer Meetup Welcome!. Our job is to make your life easier APIs Tools and workflow Documentation Stay in touch: developers.lithium.com Join the.
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).
DB Relay An Introduction. INSPIRATION Database access is WAY TOO HARD The crux.
OULU ADVANCED RESEARCH ON SOFTWARE AND INFORMATION SYSTEMS Teppo Räisänen | Oulu University of Applied Sciences Facebook API Teppo Räisänen
1Proprietary and Confidential AirVantage API – Getting started David SCIAMMA – June 13th 2014.
OULU ADVANCED RESEARCH ON SOFTWARE AND INFORMATION SYSTEMS Teppo Räisänen | Oulu University of Applied Sciences Facebook programming Teppo Räisänen
W alkie Doggie is a web application that allows dog owners to help each other with their dog walks. It’s main feature is the walkies, which are the user’s.
Facebook Platform: 101 Network Journal Club Meeting Shaomei Wu May 7, 2008.
L. Grewe. YQL – what is it Yahoo! Query Language.
Facedroid Facebook for Android. Facebook Application - API key - Secret key - PHP page Facebook Application - API key - Secret key - PHP page Facebook.
-Uday Dhokale.  What is it ??? Prototype is a JavaScript Framework that aims to ease development of dynamic web applications.  Features a unique, easy-to-use.
Chapter 6 DOJO TOOLKITS. Objectives Discuss XML DOM Discuss JSON Discuss Ajax Response in XML, HTML, JSON, and Other Data Type.
OULU ADVANCED RESEARCH ON SOFTWARE AND INFORMATION SYSTEMS Teppo Räisänen | Oulu University of Applied Sciences Facebook programming Teppo Räisänen
PerfSONAR Client Construction February 11 th 2010, APAN 29 – perfSONAR Workshop Jeff Boote, Assistant Director R&D.
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
PHOTOSWAP Albert Park & Brandon Ochs. What is PhotoSwap?  Social networking platform for iOS  Users share images with each other  Extract sensor data.
AJAX Chat Analysis and Design Rui Zhao CS SPG UCCS.
WEB-ENHANCED INFORMATION MANAGEMENT (COMS E6125) SPRING 2008 (CVN) NAVID AZIMI (NA2258) Web Platforms, or: How I Learned To Stop Worrying And Love Facebook.
PARSING FACEBOOK DATA FOR ANDROID 1. Step by Step  Import Android SDK  Get the hash key  Create a new app  Create a new project in Eclipse 
Twitter.  Twitter is a social networking and micro-blogging service that enables its users to send and read other user’s updates.
Python and REST Kevin Hibma. What is REST? Why REST? REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) It relies on a.
Asterisk based real-time social chat Advisor : Lian-Jou Tsai Student : Jhe-Yu Wu.
Jason Cortes, GOER Web Programming/Developer
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
1 My Yahoo! Personalising the Web Nick Cox – Product Manager May 2007.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
Photo Album by User
Facebook Query Language Dr.Kwanchai Eurviriyanukul February 2011 RMUTL.
JSON and A Comparison of Scripts. JSON: JavaScript Object Notation Based on a subset of the JavaScript Programming Language provides a standardized data.
 Facebook Integration on iOS Phan Thanh Phat Huynh Thanh Van.
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.
Web Design: Basic to Advanced Techniques Fall 2010 Mondays 7-9pm 200 Sutardja-Dai Hall Introduction to PHP.
Server - Client Communication Getting data from server.
API Crash Course CWU Startup Club. OUTLINE What is an API? Why are API’s useful? What is HTTP? JSON? XML? What is a RESTful API? How do we consume an.
Session 1 Chapter 1 - Introduction to Web Development ITI 133: HTML5 Desktop and Mobile Level I
Lab #2: Web API Programming Exercises By J. H. Wang Dec. 19, 2011.
RESTful Web Services A MIDAS MISSION PRESENTATION APRIL 29, 2015.
CMS 2: Advanced Web Editing - Content Presented By: Katie Pagano, Special Projects Manager Steve Pont, Product Architect.
Bilal Orhan Enrique G. Ortiz.  Friend mapping for the masses  Easy to use Facebook App to view friends’ current location on a map.
Section led by Ivan Lee Reachable at ivan period lee at cs period stanford period edu 1.
Web Services Essentials. What is a web service? web service: software functionality that can be invoked through the internet using common protocols like.
/16 Final Project Report By Facializer Team Final Project Report Eagle, Leo, Bessie, Five, Evan Dan, Kyle, Ben, Caleb.
Ext JS - Direct Bridging The Gap A DMSBT Presentation By Timothy Chandler.
National College of Science & Information Technology.
Developing an d Application s. Chris Kirkland (Founder of The Artists Web) ● Not affiliated with Facebook.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
photo facebook Character Name Wall post here Logout
The Client-Server Model
API (Application Program Interface)
AJAX and REST.
Unit – 5 JAVA Web Services
facebook Character Name Wall Photos Flair Boxes Name Logout Wall Info
Lesson 11: Web Services & API's
All about social networking
AJAX.
PHP / MySQL Introduction
YQL Kevin Murphy CMPS 183.
Yahoo! Social APIs Sophie Major Nagesh Susarla
Social Networking Script | PHP Social Network Script | Open Source Social Networking Script |Social Community Script | Social Networking Script I-netsolution.
Azure AD Line Of Business Application Integration
Social Network Dilemmas – What should you do?
EXTENSION AND INTEGRATION
MIS JavaScript and API Workshop (Part 3)
PHP Forms and Databases.
Existing SQL Integration
Consuming Web Services with 2E Generated Objects
Computer Network Information Center, Chinese Academy of Sciences
Chengyu Sun California State University, Los Angeles
Web Application Development Using PHP
Presentation transcript:

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. If you don’t use a client library then will have to do the following for each method call: –Construct a signature –Create and send a HTTP POST request –Parse the XML result of the request

Example Clients Facebook Clients –PHP5 –Java Independent Clients –ActionScript –Cocoa –PHP4 –Ruby –Python –VB.NET

Methods The facebook API currently has 20 methods that can be used to get information from facebook accounts.

Authentication facebook.auth.createToken –creates an auth_token to be passed in as a parameter to login.php facebook.auth.getSession –returns the session key bound to an auth_token

Facebook Query Language Facebook.fql.query –FQL is a way to query the same facebook data you can access through the other API functions, but with a SQL style interface. –SELECT name, affiliations FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=211031) AND "Facebook" IN affiliations.name AND uid < 10

Events facebook.events.get –returns all visible events according to the filters specified facebook.events.getMembers –returns membership list data associated with an event

Friends facebook.friends.areFriends –returns whether or not each pair of specified users is friends with each other facebook.friends.get –returns the identifiers of the current user’s Facebook friends facebook.friends.getAppUsers –returns the identifiers of the current user’s Facebook friends who are currently signed in

Groups facebook.groups.get –returns all visible groups according to the filters specified facebook.groups.getMembers –returns membership list data associated with a group

Notifications facebook.notifications.get –returns information on outstanding Facebook notifications for current session user. –such as messages, friend requests, pokes, group invites and event invites

Photos facebook.photos.addTag –adds a tag with the given information to a photo facebook.photos.createAlbum –creates and returns a new album owned by the current session user facebook.photos.get –returns all visible photos according to the filters specified

Photos facebook.photos.getAlbums –returns metadata about all of the photo albums uploaded by the specified user facebook.photos.getTags –returns the set of user tags on all photos specified facebook.photos.upload –uploads a photo owned by the current session user and returns the new photo

Users facebook.users.getInfo –returns the information in a users profile facebook.users.getLoggedInUser –gets the user id associated with the current session

Responses Each of these methods can have a different response format depending on what you are programming in. –JSON (JavaScript Object Notation) –XML –Facebook PHP Client

Links Facebook Developers Facebook Developers Client Libraries Client Libraries Facebook Applications Facebook Applications Test Console Test Console