Facebook apps with a ColdFusion backend - PowerPoint PPT Presentation

Loading...

PPT – Facebook apps with a ColdFusion backend PowerPoint presentation | free to download - id: 17b691-ZDc1Z



Loading


The Adobe Flash plugin is needed to view this content

Get the plugin now

View by Category
About This Presentation
Title:

Facebook apps with a ColdFusion backend

Description:

Digging into the API. CF is your glue. The new, dreaded, Extended Privacy. Useful resources ... Digging into the API. RESTful-ish API. Dot delimited methods ... – PowerPoint PPT presentation

Number of Views:48
Avg rating:3.0/5.0
Slides: 21
Provided by: Liz273
Category:

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: Facebook apps with a ColdFusion backend


1
Facebook apps with a ColdFusion backend
  • Simon Free
  • _at_simonfree

www.cfunited.com
2
What to expect
  1. Why would you make a Facebook application?
  2. The differences between a platform and an API
  3. The registration process
  4. Your first roadblock
  5. A look at FBML
  6. Digging into the API
  7. CF is your glue
  8. The new, dreaded, Extended Privacy
  9. Useful resources

www.cfunited.com
3
Why would you make a Facebook application?
  1. Viral Marketing
  2. Drive traffic
  3. Add features to your current site

www.cfunited.com
3
4
The differences between an API and a Platform
www.cfunited.com
5
The workings of a Facebook App
www.cfunited.com
6
The setup process - Step 1
  1. Name your application

www.cfunited.com
6
7
The setup process - Step 2
  1. Make note of your API Key and Secret Key

www.cfunited.com
7
8
The setup process - Step 3
  1. Set up your url and canvas information

www.cfunited.com
8
9
The setup process - Step 4
  1. Select required sandbox mode and provide apple ID
    if necessary

www.cfunited.com
9
10
The setup process - Review
www.cfunited.com
11
Your first roadblock
  1. Validation is carried out on form fields that
    have specific names (pre cf9)

ltcfscriptgt if(structKeyExists(form,"fb_sig"))
form.fb_sig_local form.fb_sig form.fb_sig
'' lt/cfscriptgt
www.cfunited.com
12
A look at FBML
  1. Tag system that handles output of data
  2. Tags display data just as the web site does
  3. Tags are mostly used for UI and layout
  4. Conditional logic tags do exist

Example Tags ltfbaction href"action.cfm"gtClick
Me!lt/fbactiongt ltfbprofile-pic uid"12345"
linked"true" /gt ltfbuser uid"12345" /gt
ltfbcaptcha /gt
www.cfunited.com
13
Lets look at some code!
www.cfunited.com
14
Digging into the API
  1. RESTful-ish API
  2. Dot delimited methods
  3. Methods grouped in actions
  4. Returns XML, JSON or Facebook PHP Client
  5. Access to fql (similar to SQL)
  6. API Key, Call ID, MD5 Hash of Secret Key and
    Version needed for every request

www.cfunited.com
14
15
Lets look at some code!
www.cfunited.com
16
CF is your glue
  1. Use API to get Data
  2. Parse and loop over data with CF
  3. Output using FBL
  4. Store data associated with uid with CF and SQL

www.cfunited.com
16
17
Lets look at some code!
www.cfunited.com
18
The new, dreaded, Extended Privacy
  • Users can now choose to hide
  • Picture
  • Name
  • Profile

www.cfunited.com
18
19
Useful Resources
  • Facebook developers Wiki
  • http//wiki.developers.facebook.com/index.php/Main
    _Page
  • Facebook Get Started Section
  • http//developers.facebook.com/get_started.php
  • Facebook Developers Tools
  • http//developers.facebook.com/tools.php

www.cfunited.com
19
20
Thats all folks!
Questions / Comments? Simon_at_simonfree.com Slides
will be available at http//www.simonfree.com/pre
sentations/ Follow me on twitter http//www.twit
ter.com/simonfree
www.cfunited.com
About PowerShow.com