I experimented with the Facebook API using the Javascript SDK. Whenever I logged in to Facebook, I can fairly reliably call:
function init() {
But I also want to get user photo albums (when they click the link), and for some reason this call only works intermittently:
$(document).ready(function) { $("#get-albums-link").click(function() { var accessToken = "456";
When this happens, I can open a new tab and make sure that even direct requests return the same empty result (note that although this may be an authorization problem, there is no obvious indication that it exists: it is just an empty JSON object):
{ "data": [ ] }
Andrew
source share