FacebookBatcher without accessToken

30 views
Skip to first unread message

Simer P

unread,
Apr 19, 2013, 3:53:08 PM4/19/13
to bat...@googlegroups.com
For public information Facebook allows API calls without accessToken. Is there a reason batchfb does not allow null accessToken ? or can this be done somehow ? 

Jeff Schnitzer

unread,
Apr 19, 2013, 3:59:53 PM4/19/13
to bat...@googlegroups.com
Last time I checked, Facebook's batch API required an access token irrespective of whether or not the underlying calls required one. Dumb.

If test this and discover that the token is no longer required, I'll update BatchFB.

Jeff


On Fri, Apr 19, 2013 at 3:53 PM, Simer P <sim...@gmail.com> wrote:
For public information Facebook allows API calls without accessToken. Is there a reason batchfb does not allow null accessToken ? or can this be done somehow ? 

--
You received this message because you are subscribed to the Google Groups "BatchFB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to batchfb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Simer P

unread,
Apr 20, 2013, 10:14:23 AM4/20/13
to bat...@googlegroups.com, je...@infohazard.org
Here is my test. I logged out of facebook

and ran this query in Graph API explorer

select name, description, about from page where page_id = 100484820802 

This is from Pagi API

To read the page table you need

  • no access_token to get public information, or information about public pages that are not demographically restricted.
  • any valid access_token to get all information about a page that the current session user is able to see.

Jeff Schnitzer

unread,
Apr 20, 2013, 10:22:22 AM4/20/13
to bat...@googlegroups.com
BatchFB uses Facebook's Batch API:


"If none of the individual requests specify an access token to be used, you must include an access token as a top level parameter and this will be used for all requests."

Last time I tested this, it did indeed require an access token. I don't think you can test it from the graph api explorer tool, which does HTTP GET; use curl.

Jeff

Reply all
Reply to author
Forward
0 new messages