Time for action – searching feeds through the Visualizer
Let's get these two new types of search into our application.
Presumably the purpose of the bottom three fields is a lot clearer now:
My News Feed searches /me/home
, and Friend' s Posts searches /«username»/feed
, where «username»
is the value typed into the textbox.
Let's first add the My News Feed search to both Requestors. The only change we have to make is to the URL that gets requested; instead of /search
we use /me/home
. The Search window returns "home
" as the value of type
if My News Feed is checked, so modify the search()
method in HTTPRequestor.as
as shown in the following code:
public ...
Get Facebook Graph API Development with Flash now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.