lib/adparlor/facebook/graph_api/page.rb in adparlor-facebook-0.6.0 vs lib/adparlor/facebook/graph_api/page.rb in adparlor-facebook-0.6.1
- old
+ new
@@ -8,9 +8,13 @@
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)
+ end
+
def picture
@picture ||= CollectionProxy.new(Picture, "/#{id}/picture", access_token)
end
def page_backed_instagram_accounts