FAQ about the Facebook API Browser.

May 04, 2010 22:54


Here are answers to some common questions about the Facebook API Browser. For details on the exposure of users' event lists, which appears to now have been fixed, see a previous post.
Read more... )

Leave a comment

Comments 75

Constructor Error ? anonymous May 7 2010, 14:35:12 UTC
I'm getting this when I look up some users in both IE and FireFox.

Message: 'constructor' is null or not an object
Line: 105
Char: 3
Code: 0
URI: http://zesty.ca/facebook/

Reply

Re: Constructor Error ? zestyping May 12 2010, 18:11:53 UTC
Thanks! I've made a change that fixes this problem.

Reply


parsing or identifying data anonymous May 11 2010, 00:30:29 UTC
great tool, thanks. I realize why you wouldn't grab all info on page load, but it would be nice to be able to see the results all on one page, or even identify by color or asterisk or something which properties are not empty (ie, data is available)

Even ajax to get data over time...

Not suggesting you should feel obligated to do this, thank you for your effort so far.

curtis

Reply


Errors anonymous May 12 2010, 02:28:18 UTC
I get this error almost always but occasionally the info comes through:

"error": {
"type": "OAuthException",
"message": "You must use https:// when passing an access token"

Why is it so inconsistent. I can't tell what it actually is publishing because it only works occasionally.

Reply

Re: Errors zestyping May 12 2010, 18:12:29 UTC
Thanks for reporting this. It looks like they've added a new requirement to the API. I believe I've fixed this now.

Reply


anonymous May 12 2010, 19:40:05 UTC
Thank you for making this, and having it open source.

I'm curious about how you're generating/refreshing the access tokens. Since they expire after an hour or two, you must be automatically refreshing them somehow. I'm speculating that you could do it with a browser that's set to refresh every so often, or possibly with a cron job?? Are you able to share your code for this?

Reply

anonymous August 3 2010, 18:23:18 UTC
Great question! I would also like to know the answer, Thanks!

Reply

Auth token solution anonymous August 5 2010, 22:32:26 UTC
I figured out a solution to authenticating. I ended up using the facebook php sdk and added a function called getFbookAuth() and it simply logs into facebook under a dummy account and screen-scrapes the auth token ( ... )

Reply


an error? anonymous May 13 2010, 03:29:26 UTC
Thanks for making this. While testing it out out, some of the results did not seem accurate. I put in the ids of two random people (that i'm not connected with)and compared what's visible on thier profiles to what your API browser shows. Both have books and movies publicly visible too all yet the api browser does not show them. Unless I'm confused, seems like these should show up in the browser.

Reply

Re: an error? zestyping May 17 2010, 06:33:44 UTC
The API Browser only shows what's returned through the API. The information shown on a Facebook profile page doesn't necessarily match what is provided through the API.

Reply


Leave a comment

Up