Developing Facebook Applications By. M.ALI and Aamir Latif



Similar documents
Learning Facebook Application Development

Creating a Facebook Page Step-by-Step imodules Software, September 2008 Copyright 2008, imodules Software, Inc. Overview

Hack-proof Your Drupal App. Key Habits of Secure Drupal Coding

WEB DEVELOPMENT COURSE (PHP/ MYSQL)

How to Easily Integrate BIRT Reports into your Web Application

Programming Social Applications

The Archiving Method for Records of Public Sector s Facebook Page

SharePoint A Ten-Point Review of SharePoint 2013 vs NICOLAS LAGROTTA NICOLAS LAGROTTA

IT3504: Web Development Techniques (Optional)

white paper imaginea Performance Testing Social Networking (Facebook ) Apps

DreamFactory & Modus Create Case Study

Table of contents. HTML5 Data Bindings SEO DMXzone

IBM Script Portlet for WebSphere Portal Release 1.1

GENERAL OVERVIEW OF VARIOUS SSO SYSTEMS: ACTIVE DIRECTORY, GOOGLE & FACEBOOK

Guide to Automating Workflows Quickly and Easily

What s new in Access 2013

Contents. Introduction Downloading the Data Files... 2

IT3503 Web Development Techniques (Optional)

tibbr Now, the Information Finds You.

RIA Technologies Comparison

How to Protect Your Privacy on Facebook: A Step-by-Step Guide. (Originally published May 3, 2007; most recently updated March 17, 2009)

RIDICULOUSLY EASY GUIDE TO SOCIAL MEDIA TWITTER

HTML5. Turn this page to see Quick Guide of CTTC

FormAPI, AJAX and Node.js

What do you mean that I have to have special web pages to communicate with FileMaker?

SharePoint 2010 vs. SharePoint 2013 Feature Comparison

Pivot Charting in SharePoint with Nevron Chart for SharePoint

Build an ArcGIS Online Application

Web Testing. Main Concepts of Web Testing. Software Quality Assurance Telerik Software Academy

Google Web Toolkit. Introduction to GWT Development. Ilkka Rinne & Sampo Savolainen / Spatineo Oy

Bug Report. Date: March 19, 2011 Reporter: Chris Jarabek

Facebook - Twitter - Google +1 all in one plugin for Joomla enable "Twitter button", "Google +1

HTML5 AUTOMOTIVE 2013 White Paper Series

Braindumps.C questions

DePaul Central Home Page

Facebook apps in Python

Scritto da Administrator Martedì 05 Aprile :23 - Ultimo aggiornamento Giovedì 15 Ottobre :19

XML Processing and Web Services. Chapter 17

Performance Testing for Ajax Applications

CRM Developer Form

C S 105 (53485) Computer Programming: PHP/SQL Spring 2014

BUILDING MORE ACCESSIBILE SITES. SharePoint 2010

Course 20489B: Developing Microsoft SharePoint Server 2013 Advanced Solutions OVERVIEW

Firefox for Android. Reviewer s Guide. Contact us: press@mozilla.com

SOA, case Google. Faculty of technology management Information Technology Service Oriented Communications CT30A8901.

Automation using Selenium

Ads and Sponsored Stories Guide. September 2012

Grupo Lanka s Pivotal Development tools are integrated by the follow individual products:

A Tool for Evaluation and Optimization of Web Application Performance

SelectSurvey.NET Developers Manual

Student Records Home Page

New Features Overview

Developing Microsoft SharePoint Server 2013 Advanced Solutions

Hyperoo 2.0 A (Very) Quick Start

Learn about OverDrive APIs and how they can benefit search, discovery and reporting services at your library. Contact:

SUBJECT CODE : 4074 PERIODS/WEEK : 4 PERIODS/ SEMESTER : 72 CREDIT : 4 TIME SCHEDULE UNIT TOPIC PERIODS 1. INTERNET FUNDAMENTALS & HTML Test 1

WHAT'S NEW IN SHAREPOINT 2013 WEB CONTENT MANAGEMENT

Social Network Integration

Practical Android Projects Lucas Jordan Pieter Greyling

BEST WEB PROGRAMMING LANGUAGES TO LEARN ON YOUR OWN TIME

Chatter Answers Implementation Guide

Working with Indicee Elements

Developing ASP.NET MVC 4 Web Applications MOC 20486

Implementing a Web-based Transportation Data Management System

Merchandising with Adobe Digital Publishing Suite

Creating Connection with Hive

PHP Language Binding Guide For The Connection Cloud Web Services

Visualizing a Neo4j Graph Database with KeyLines

Open Source Content Management System for content development: a comparative study

Specialized Programme on Web Application Development using Open Source Tools

Generating Open For Business Reports with the BIRT RCP Designer

Books-by-Users Web Development with SAS by Example (Third Edition) Frederick E. Pratter

MatchPoint Technical Features Tutorial Colygon AG Version 1.0

Installing NetSupport School for use with the NetSupport School Student extension for Google Chrome

How To Write A Web Server In Javascript

Web Design Specialist

Sabre Red Apps. Developer Toolkit Overview. October 2014

Expert Reference Series of White Papers. Ten Things You Should Know About SharePoint 2010

Short notes on webpage programming languages

Drupal CMS for marketing sites

easyobject modern web applications made easy Project presentation

For Sales Kathy Hall

Dashboard Admin Guide

SERENA SOFTWARE Providing Custom Documentation for Serena Business Manager

PayPal Integration Instructions

Step into the Future: HTML5 and its Impact on SSL VPNs

Thomas Röthlisberger IT Security Analyst

Usage Tracking for IBM InfoSphere Business Glossary

CSE598i - Web 2.0 Security OWASP Top 10: The Ten Most Critical Web Application Security Vulnerabilities

ArcGIS 10.1 Web Apps and APIs. John Hasthorpe & Kai Hübner

ITP 140 Mobile Technologies. Mobile Topics

CHAPTER 24 Communicating with the Web

Sisense. Product Highlights.

AJAX Toolkit Framework

601/8498/X IAO Level 3 Certificate in Web Design and Development (RQF)

Raise of hands on anyone whos used the Flex or Silverlight Application Builders?

SIMGallery. User Documentation

Draft Response for delivering DITA.xml.org DITAweb. Written by Mark Poston, Senior Technical Consultant, Mekon Ltd.

Web application Architecture

Web 2.0 Technology Overview. Lecture 8 GSL Peru 2014

Transcription:

Developing Facebook Applications By M.ALI and Aamir Latif

Objective A very basic introduction to developing applications with Facebook using PHP. Keep it simple. Goal is learning. Level:Basic

Agenda Presentation [M.ALI] 20 mins Demonstration [Amir Latif] 15 mins Question/Answer 10 mins

What is Facebook? Facebook is a web application that provides a kind of social networking with people near you. Facebook was founded by Mark Zuckerberg in 2004. Originally designed to connect different colleges and universities. Facebook name has origin in magazine that was distributed to new students

Facebook facts World largest social network with over 350 million users. An average teen spends about 20 mins daily. More than 65 million active users at a time. Consists of more than 500,000 active applications. 6.5 millions users access FB from mobile More facts on http://www.facebook.com/press/info.php?statist ics

Facebook application Developing facebook application mean it is accessible from FB. Application is exposed to millions of users worldwide. There is a chance for the application to become a popular one in FB. Applications can be social applications like super wall,games like crazy taxi and quizzes.

Facebook Applications

Some Popular Facebook applications

Farm Ville

Facebook Platform Facebook platform is a framework for developers to interact with the core features of the facebook site. Anyone can developed an application in Facebook by pointing their URL to developers.facebook.com The idea was to enable everyone to provide content to the facebook site. Provides web services

Standard web application

Facebook Application Platform Platform components: 1. Users machine 2. Facebook Server(s) 3. Application Server

Client/Server Interaction Browser App Canvas 1. Browser makes request 5. Facebook renders FBML to HTML 2. FB server calls App Server through callback URL Facebook server Your app server 3. App calls FB API 4. App server returns FBML

How Facebook application works?

Creating your first Facebook application

Before you begin A PHP editor available in Netbeans or Eclipse A php enabled web server to host your application A facebook client library for php ;can be downloaded from http://wiki.developers.facebook.com/index.ph p/user:client_libraries

Step-by-step Guide to Creating Facebook App http://developers.facebook.com/step_by_step.php

Extract data with your App http://developers.facebook.com/documentation.php

The Facebook Platform Elements There are three elements to the Facebook Platform: The Facebook API (Application Programming Interface). FBML Facebook Markup Language FQL Facebook Query Language

Facebook APIs http://wiki.developers.facebook.com/index.php/api#api_methods A lot of handy functions provided with a Facebook Object. For example: Users.getInfo Returns a wide array of user-specific information for each user identifier passed, limited by the view of the current user.

FBML http://wiki.developers.facebook.com/index.php/fqbml Facebook Markup Language (FBML) Subset of HTML Br,div,h1,li,pre,span etc Facebook specific tags Fb: create-button, fb:dashboard, fb:error,fb:message,fb:name etc Used in application which use canvas user profile,mini feed etc

Facebook API Test Console

FBML

Facebook Query Language (FQL) FQL = subset of SQL Only select-statements, no updates/deletes Exposed Facebook data/tables: User, Friend, Group, Group_member, Event, Event_member, Photo, AlbumPhoto_tag SELECT name, affiliations FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=211031)

Facebook Database tables album Comment connection friend photo Application Event Family group user URL: http://wiki.developers.facebook.com/index.php/fql_tables

Understanding FBML and IFRAMES

FBML Facebook Markup Language Subset of HTML + Facebook elements Functionalities: Enforce uniform/standard look and feel for shared components: navigation, wall, dashbord, friendselector, buttons, time-dates, dialog, notification. Implementing privacy designs: e.g., restrict the content to be only visible to the current viewer. Syntax just like well-formed HTML/XML.

Understanding the Types of FBML Application Development Tags The goal of FBML is to support a versatile tag set in order to help developers target these different settings. Social data tags e.g fb:name. Sanitization tags e.g fb:swf Design tags e.g fb:tabs Component tags e.g fb:comments Control tags e.g fb:visible-to-owner URL:http://developers.facebook.com/specification.php

FBML <fb:editor action="?do-it" labelwidth="100"> <fb:editor-text label="title" name="title" value=""/> <fb:editor-text label="author" name="author" value=""/> <fb:editor-custom label="status"> <select name="state"> <option value="0" selected>have read</option> <option value="1">am reading</option> <option value="2">want to read</option> </select> </fb:editor-custom> <fb:editor-textarea label="comment" name="comment"/> <fb:editor-buttonset> <fb:editor-button value="add"/> <fb:editor-button value="recommend"/> <fb:editor-cancel /> </fb:editor-buttonset> </fb:editor>

FBML <fb:tabs> <fb:tab-item href='http://apps.facebook.com/yourapp/myphotos.php' title='my Photos' selected='true'/> <fb:tab-item href='http://apps.facebook.com/yourapp/recentalbums.php' title='recent Albums' /> </fb:tabs> <fb:success> <fb:message>success message</fb:message> This is the success message text. </fb:success>

FBML vs IFrames FBML Is Quick; suitable for beginners Ease of access to the facebook elements Pages have nice URLs IFrames Easier and faster for existing applications Faster experience for users over the long run and faster for AJAX Let you use the JavaScript, HTML, and standard

Facebook Connect URL: http://wiki.developers.facebook.com/index.php/facebook_connect

Demonstration

Q/A session