Szczegóły ebooka

Facebook Graph API Development with Flash. Build social Flash applications fully integrated with the Facebook Graph API

Facebook Graph API Development with Flash. Build social Flash applications fully integrated with the Facebook Graph API

Michael James Williams

Ebook
The Facebook platform provides you with an ideal solution for building rich, social experiences on the web to develop an effective user experience application. Combined with Flash which effectively enables social interactions, you can create a fully functional application on Facebook. If you've been waiting to get started with your own applications and games on Facebook, with this book you don't have to wait any longer.This book takes you through everything you need to know to integrate your AS3 apps and games with Facebook accompanied by illustrative screenshots and short quizzes.It presents you with in depth coverage of the key underlying concepts such as creating a basic application that runs inside Facebook and exploring the Graph API which greatly simplifies how developers can retrieve data. This book also covers topics on security, permissions and authentication features on Facebook.This beginner's guide starts off by teaching you about retrieving simple public data and then rapidly working your way up to authenticating users, building powerful searches across the entire database, and uploading photos and other content.

Throughout the book, you'll learn by building two fundamental components: an RIA Facebook interface and an AS3 SDK that you can drop into any project to add Facebook integration. This easy-to-understand guide has everything written as AS3-only projects with publicly available components, so you can follow along whether you use Flash Pro, Flex, or MXMLC – as long as you know AS3!

This hands-on tutorial will present you with a whole new perspective of the three core aspects of Facebook – searching, retrieving, and updating the data .This practical book focuses on how to set up an application on Facebook and how to deal with different contexts like AIR.By the end of this book, you will be confident enough to set up your own application and create social interactions for users to share on Facebook.
  • Facebook Graph API Development with Flash Beginners Guide
    • Table of Contents
    • Facebook Graph API Development with Flash Beginner's Guide
    • Credits
    • About the Author
    • Acknowledgement
    • About the Reviewer
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Errata
        • Piracy
        • Questions
    • 1. Introduction
      • What's so great about Facebook?
        • It's popular
          • Numbers
        • It's everywhere
        • It's interesting to develop for
        • Have a go hero get on Facebook
      • Web hosts
        • What's a web host?
        • Why do you need one?
        • How do you choose one?
        • Useful software
        • What about domain names?
        • Have a go hero get a web host, upload to it, test
      • How much AS3 knowledge is required?
      • The source code
        • Powered by
        • Debugging
          • Watch out for caching
      • A final note
    • 2. Welcome to the Graph
      • Accessing the Graph API through a Browser
      • Time for action loading a Page
        • What just happened?
        • Have a go hero exploring other objects
      • Accessing the Graph API through AS3
      • Time for action retrieving a Page's information in AS3
        • What just happened?
      • Time for action deserializing a JSON object
        • What just happened?
      • Time for action visualizing the info
        • What just happened?
      • Understanding connections
      • Time for action finding connections in a browser
        • What just happened?
        • Have a go hero exploring connections
        • Rendering Lists
      • Time for action rendering Lists of Posts
        • What just happened?
        • Rendering connections
      • Time for action displaying a Graph Object's connections
        • What just happened?
          • Introducing the Requestor
      • Time for action creating an HTTP Requestor
        • What just happened?
      • Understanding Connections of Connections
      • Time for action loading photos from an album
        • What just happened?
      • Putting it all together
      • Time for action traversing the Graph
        • What just happened?
        • Have a go hero exploring other areas
        • Pop Quiz
      • Summary
    • 3. Let Me In!
      • What can you see?
      • Time for action snooping through other people's accounts
        • What just happened?
        • Have a go hero viewing your privacy settings
      • What's that got to do with the Graph API?
        • Access tokens are proof of authorization
        • User/Application authorization
      • Time for action registering an application with Facebook
        • What just happened?
        • Application ID + logged-in user = access token
      • Time for action requesting an access token with the browser
        • Registering a redirect URI with our application
        • Using the Access Token
        • Me, me, me
        • What just happened?
          • Keeping secrets
          • What did Facebook give us?
      • Authenticating with AS3
      • Time for action Using an access token in our Graph visualizer
        • That's cheating!
      • Time for action authenticating through the application
        • What just happened?
        • A different approach
      • Time for action authenticating via JavaScript
        • Creating a callback web page
        • Receiving the access token
        • What just happened?
          • What about users who haven't used the application before?
        • Have a go hero dealing with the undecided
      • Extended permissions
      • Time for action obtaining extended permissions
        • What just happened?
      • Time for action requesting extended permissions
        • Have a go hero using a permanent access token
          • I want it all, and I want it now
        • Have a go hero dealing with extended permissions
      • Using the Adobe ActionScript 3 SDK for Facebook platform
      • Time for action implementing the SDK
        • What just happened?
        • Have a go hero requesting extended permissions with the SDK
        • Pop Quiz
      • Summary
    • 4. Digging Deeper into the Graph
      • Getting more results with paging
      • Time for action displaying the number of objects in a list
        • What just happened?
      • Time for action requesting more Objects
        • What just happened?
      • Time for action requesting more Objects at once
        • What just happened?
          • Paging
      • Time for action obtaining data in pages
        • What just happened?
        • Have a go hero using limit and offset for other connections
      • Time for action adding limit and offset to GraphRequest instances
        • What just happened?
          • Date-Based filtering
      • Time for action requesting data based on date
        • What just happened?
      • Time for action adding since and until to GraphRequest instances
        • What just happened?
      • Time for action filtering by date using the UI
        • What just happened?
          • We gon' partition like it's yo' birthday
        • Have a go hero loading birthday wall posts
        • Date-based paging
          • Requesting multiple IDs at once
      • Time for action using the ids parameter in a Graph URL
        • What just happened?
        • Have a go hero creating a Compound Object based on results from a List
      • Summary
        • Pop Quiz
    • 5. Search Me
      • Using the website's Search box
      • Time for action examining quick search results
        • What just happened?
      • Time for action Using the Full Search results
        • What just happened?
      • Searching with a Graph URL
      • Time for action searching without authorization
        • What just happened?
      • Time for action searching while authorized
        • What just happened?
        • Differences
        • Restrictions
      • Time for action implementing a Search window in the Visualizer
        • What just happened?
      • Time for action searching via the SDK
        • What just happened?
        • Have a go hero setting the locale
        • Searching feeds and wall posts
      • Time for action searching your news feed
        • What just happened?
      • Time for action searching a friend@#U+0027:s Wall Posts
        • What just happened?
      • Time for action searching feeds through the Visualizer
        • What just happened?
      • Summary
        • Pop Quiz
    • 6. Adding to the Graph
      • Hello, Facebook!
      • Time for action posting to the user's feed
        • Request methods
          • What's a request method?
      • Time for action using the POST method
        • What just happened?
      • Time for action listening for errors
        • What just happened?
      • Time for action granting the required permission
        • What just happened?
      • Time for action posting via the SDK
        • What just happened?
      • Going further with Wall Posts
      • Time for action publishing rich posts
        • What just happened?
        • Have a go hero
      • Posting to another Wall
      • Time for action posting to another Wall using the Visualizer
        • Actions, privacy, and source
          • Actions
      • Time for action literally
        • What just happened?
          • Privacy
      • Time for action setting a Post's privacy settings
        • What just happened?
          • Source
      • Deleting Graph Objects
      • Time for action deleting a Post
      • Time for action deleting Posts using the Visualizer
        • What just happened?
      • Publishing other kinds of Graph Object
        • Comments
        • Likes
          • What about "liking" other Graph Objects?
        • Deleting Likes
        • Notes
          • Events
          • Event RSVPs
          • Albums
          • Photos
          • Checkins
      • What about...?
        • Sending inbox messages
        • Creating Pages, Groups, Applications, and Videos
        • Changing biographical information
        • Making Friends
        • Inviting Friends to Events
        • Pop Quiz
      • Summary
    • 7. FQL Matters
      • What is FQL?
      • Understanding the FQL interface
        • Models of data
        • Representations of data
      • Getting information
      • Time for action retrieving info from the Page table
        • What just happened?
        • Have a go hero creating an FQL query builder
      • What about connections?
        • Photos, Albums, and their Owners
        • Have a go hero getting a user's albums
        • Primary keys
        • Crow's feet
        • Have a go hero drawing your own crows' feet
        • Link tables
        • What just happened?
      • Time for action getting a user's friends' names with AS3
        • What just happened?
      • Time for action an easier way
        • What just happened?
      • Time for action getting it down to one API call
        • What just happened?
        • Have a go hero Mutual friends
      • The Graph as a layer
        • Have a go hero recreating existing Graph API calls in FQL
      • Permissions
        • Checking existing permissions
          • Getting more information
      • Restrictions
        • Searches must use an indexable field
          • Does this matter in practice?
      • Advanced FQL
        • Operators
          • Comparison
          • Logical
        • Have a go hero getting a list of your events based on location
        • Have a go hero finding gatecrashers
        • Ordering
        • Paging
        • Extra functions
        • Have a go hero combining what you've learned
        • Calling multiple queries at once
        • Pop Quiz
      • Summary
    • 8. Finishing Off
      • Putting it online
        • On Facebook
          • IFrame
      • Time for action setting up an IFrame application
        • What just happened?
          • Page tab
      • Time for action adding an application to a Page tab
        • What just happened?
        • Off Facebook
          • Your own website
          • Flash game portals
          • As a desktop AIR application
      • Time for action authorizing through AIR with HTTP
        • What just happened?
      • Time for action authorizing through AIR with the SDK
        • What just happened?
          • As an AIR for Android Application
      • Time for action authorizing on Android
        • What just happened?
        • Have a go hero modifying the SDK for Android
          • Choosing your application's Facebook settings
      • Getting your application out there
        • Editing the application's profile page
        • Have a go hero creating your application's profile page
          • Custom tabs
        • The Facebook Application Directory
      • Watch out for these policies!
      • What next?
        • The Official AS3 Facebook SDK
        • Other Facebook APIs
        • JavaScript SDK
          • Insights API
          • Facebook Chat API
          • Internationalization API
        • Adobe Social service
        • Related Technologies
          • PHP
          • Open Graph Protocol
          • Real-Time Updates
        • Brand new and coming soon
          • Facebook Credits
          • Test users
          • The New Messages
        • Facebook developer resources
          • Official Facebook resources
          • Other great websites
          • Me, me, me
      • Keeping up with the Zuckerbergs
        • Dealing with change
      • Summary
    • A. Pop Quiz Answers
      • Chapter 2
      • Chapter 3
      • Chapter 4
      • Chapter 5
      • Chapter 6
      • Chapter 7
    • Index
  • Tytuł: Facebook Graph API Development with Flash. Build social Flash applications fully integrated with the Facebook Graph API
  • Autor: Michael James Williams
  • Tytuł oryginału: Facebook Graph API Development with Flash. Build social Flash applications fully integrated with the Facebook Graph API
  • ISBN: 9781849690751, 9781849690751
  • Data wydania: 2010-12-14
  • Format: Ebook
  • Identyfikator pozycji: e_3bhg
  • Wydawca: Packt Publishing