lib/adparlor/facebook/graph_api/page.rb in adparlor-facebook-0.6.2 vs lib/adparlor/facebook/graph_api/page.rb in adparlor-facebook-0.6.3
- old
+ new
@@ -9,10 +9,10 @@
def promotable_posts
@promotable_posts ||= CollectionProxy.new(Post, "/#{id}/promotable_posts", access_token)
end
def ads_posts
- @ads_posts ||= CollectionProxy.new(Post, "/#{id}/ads_posts", access_token)
+ @ads_posts ||= CollectionProxy.new Post, "/#{id}/ads_posts", access_token, nil, include_inline_create: true
end
def picture
@picture ||= CollectionProxy.new(Picture, "/#{id}/picture", access_token)
end