更新时间:2021-03-27 00:42:22
封面
Facebook Graph API Development with Flash
Credits
About the Author
Acknowledgement
About the Reviewer
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Introduction
What's so great about Facebook?
Web hosts
How much AS3 knowledge is required?
The source code
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
Time for action - rendering Lists of Posts
Time for action - displaying a Graph Object's connections
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?
Time for action - registering an application with Facebook
Time for action - requesting an access token with the browser
Authenticating with AS3
Time for action - Using an access token in our Graph visualizer
Time for action - authenticating through the application
Time for action - authenticating via JavaScript
Extended permissions
Time for action - obtaining extended permissions
Time for action - requesting extended permissions
Using the Adobe ActionScript 3 SDK for Facebook platform
Time for action - implementing the SDK
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
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
Time for action - using the ids parameter in a Graph URL
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
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
Chapter 6. Adding to the Graph
Hello Facebook!
Time for action - posting to the user's feed
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
Time for action - literally
Time for action - setting a Post's privacy settings
Deleting Graph Objects
Time for action - deleting a Post
Time for action - deleting Posts using the Visualizer
Publishing other kinds of Graph Object
What about...?
Chapter 7. FQL Matters
What is FQL?