Another question... I''m trying to do an FQL query for some fan page
data, but it returns an empty array as the result:
def update_from_fb
fbs = Facebooker::Session.create
results = fbs.fql_query("select name, page_url, fan_count,
pic_square from page where page_id = #{self.page_id}")
logger.debug "RESULTS: #{results.size} #{results.class}"
end
If I change that query to the user table and change my debug message,
I can get an array with a working User object. I''m not sure why the
page table doesn''t return anything.
I see that Facebooker has a Page class, with accessors for a lot of
the page fields, so I was hoping to get one of those back. If I run my
query in the test console it does return the data I''m looking for.
Thanks!
--
Ben Sinclair
ben at bensinclair.com