nov / fb_graph

This gem doesn't support FB Graph API v2.0+. Please use fb_graph2 gem instead.
MIT License
1.04k stars 191 forks source link

Update ad_previews to match Facebook. #199

Closed micahwedemeyer closed 12 years ago

micahwedemeyer commented 12 years ago

Facebook has changed the request and response format for their (unpublished) ad_previews API call. We figured out what it should look like and updated the fb_graph requests to match it.

nov commented 12 years ago

It seems Facebook want to put a collection of preview items in the "data" array. Is it OK for fb_graph to handle only the first one?

nov commented 12 years ago

Anyway, I released this change.

micahwedemeyer commented 12 years ago

It's not really clear what they're trying to do. It's completely undocumented and we just learned about it by looking through the Power Editor codebase.

I imagine we may have to make updates in the future as they change things. I just hope they don't remove it altogether as it is quite useful.

Anyway, I released this change.


Reply to this email directly or view it on GitHub: https://github.com/nov/fb_graph/pull/199#issuecomment-4172129