Facebook graph API not getting all events
Been using the Graph API successfully to get events from music venue pages. Until I hit a perpendicular venue, https://www.facebook.com/pg/theklabristol/events/?ref=page_internal. For this I am not getting all the events and its not even the recent ones I am getting. I don't seem to be getting the ones this month but am getting a lot next month and the month after. I'me using ruby, here is the code.
Koala.config.api_version = 'v2.10'
oauth = Koala::Facebook::OAuth.new 'my_id', 'my_secret'
graph = Koala::Facebook::API.new oauth.get_app_access_token
fb_events = graph.get_object( 'theklabristol/events' )
链接地址: http://www.djcxy.com/p/32670.html
上一篇: Rails发布到Facebook页面