Skip to Content

Facebook Graph API Development with Flash Table of Contents


Table of Contents

Preface
Chapter 1: Introduction
Chapter 2: Welcome to the Graph
Chapter 3: Let Me In!
Chapter 4: Digging Deeper into the Graph
Chapter 5: Search Me
Chapter 6: Adding to the Graph
Chapter 7: FQL Matters
Chapter 8: Finishing Off
Pop Quiz Answers
Index

  • Chapter 1: Introduction
    • What's so great about Facebook?
      • It's popular
        • Numbers
      • It's everywhere
      • It's interesting to develop for
    • Web hosts
      • What's a web host?
      • Why do you need one?
      • How do you choose one?
      • Useful software
      • What about domain names?
    • How much AS3 knowledge is required?
    • The source code
      • Powered by…
      • Debugging
        • Watch out for caching
    • A final note…
    • Chapter 2: Welcome to the Graph
      • Accessing the Graph API through a Browser
      • Time for action – loading a Page
      • Accessing the Graph API through AS3
      • Time for action – retrieving a Page's information in AS3
      • Time for action – deserializing a JSON object
      • Time for action – visualizing the info
      • Understanding connections
      • Time for action – finding connections in a browser
        • Rendering Lists
      • Time for action – rendering Lists of Posts
        • Rendering connections
      • Time for action – displaying a Graph Object's connections
        • Introducing the Requestor
    • Time for action – creating an HTTP Requestor
    • Understanding Connections of Connections
    • Time for action – loading photos from an album
    • Putting it all together
    • Time for action – traversing the Graph
    • Summary
      • Chapter 3: Let Me In!
        • What can you see?
        • Time for action – snooping through other people's accounts
        • 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
          • 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
          • 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
        • A different approach
      • Time for action – authenticating via JavaScript
        • Creating a callback web page
        • Receiving the access token
        • What about users who haven't used the application before?
      • Extended permissions
      • Time for action – obtaining extended permissions
      • Time for action – requesting extended permissions
        • I want it all, and I want it now
      • Using the Adobe ActionScript 3 SDK for Facebook platform
      • Time for action –implementing the SDK
      • Summary
        • Chapter 4: Digging Deeper into the Graph
          • Getting more results with paging
          • Time for action – displaying the number of objects in a list
          • Time for action – requesting more Objects
          • Time for action – requesting more Objects at once
            • Paging
        • Time for action – obtaining data in pages
        • Time for action – adding limit and offset to GraphRequest instances
        • Time for action – requesting data based on date
        • Time for action – adding since and until to GraphRequest instances
        • Time for action – filtering by date using the UI
          • We gon' partition like it's yo' birthday
        • Time for action – using the ids parameter in a Graph URL
        • Summary
          • Chapter 5: Search Me
            • Using the website's Search box
            • Time for action – examining quick search results
            • Time for action – Using the Full Search results
            • Searching with a Graph URL
            • Time for action – searching without authorization
            • Time for action – searching while authorized
              • Differences
              • Restrictions
            • Time for action – implementing a Search window in the
            • Visualizer
            • Time for action – searching via the SDK
            • Time for action – searching your news feed
            • Time for action – searching a friend's Wall Posts
            • Time for action – searching feeds through the Visualizer
            • Summary
            • Chapter 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
              • Time for action – listening for errors
              • Time for action – granting the required permission
              • Time for action – posting via the SDK
              • Going further with Wall Posts
              • Time for action – publishing rich posts
              • Posting to another Wall
              • Time for action – posting to another Wall using the Visualizer
                • Actions, privacy, and source
                  • Actions
              • Time for action – literally
                • Privacy
            • Time for action – setting a Post's privacy settings
              • Source
            • Deleting Graph Objects
            • Time for action – deleting a Post
            • Time for action – deleting Posts using the Visualizer
            • Publishing other kinds of Graph Object
              • Comments
              • Likes
            • 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
            • Summary
              • Chapter 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 about connections?
                  • Photos, Albums, and their Owners
                  • Primary keys
                  • Crow's feet
                  • Link tables
                • Time for action – getting a user's friends' names with AS3
                • Time for action – an easier way
                • Time for action – getting it down to one API call
                • The Graph as a layer
                • Permissions
                  • Checking existing permissions
                    • Getting more information
                • Restrictions
                  • Searches must use an indexable field
                    • Does this matter in practice?
                • Advanced FQL
                  • Operators
                    • Comparison
                    • Logical
                  • Ordering
                  • Paging
                  • Extra functions
                  • Calling multiple queries at once
                • Summary
                • Chapter 8: Finishing Off
                  • Putting it online
                    • On Facebook
                      • IFrame
                  • Time for action – setting up an IFrame application
                    • Page tab
                • Time for action – adding an application to a Page tab
                  • Off Facebook
                    • Your own website
                    • Flash game portals
                    • As a desktop AIR application
                • Time for action – authorizing through AIR with HTTP
                • Time for action – authorizing through AIR with the SDK
                  • As an AIR for Android Application
                • Time for action – authorizing on Android
                  • Choosing your application's Facebook settings
                • Getting your application out there
                  • Editing the application's profile page
                  • 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

                    Awards Voting Nominations Previous Winners
                    Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                    Resources
                    Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                    Open Source Content Management Customer Relationship Management e-Commerce e-Learning Java Linux Servers Networking & Telephony PHP Web Graphics & Video Web Development
                    Enterprise BPEL Microsoft Oracle SOA Web Services
                    Other Packt Books .Net Web Graphics & Video Beginner Guides Cookbooks