Closed niuage closed 12 years ago
Sorry my bad. Try 2.4.9.
Your code will be something like
venue = FbGraph::Event.fetch("120401624758155", access_token: "xyz").venue venue = venue.fetch(access_token:"xyz").venue if venue.is_a?(FbGraph::Page)
Yep, it works now, thanks.
(it's venue.fetch(...).location
btw)
I've got another problem probably related to the issue that you fixed recently: https://github.com/nov/fb_graph/issues/211
So, when the venue is a page, is it normal that the venue is not fetched by default?
This still gives me an empty venue, but that might be expected since fetching all the associations might be too long and useless.
So I tried:
And this gives me the following error:
Is this how I should get the venue?