class Adparlor::Facebook::GraphApi::Page
Public Instance Methods
ads_posts()
click to toggle source
# File lib/adparlor/facebook/graph_api/page.rb, line 13 def ads_posts @ads_posts ||= CollectionProxy.new Post, "/#{id}/ads_posts", access_token, nil, include_inline_create: true end
leadgen_forms()
click to toggle source
# File lib/adparlor/facebook/graph_api/page.rb, line 25 def leadgen_forms @leadgen_forms ||= CollectionProxy.new(LeadgenForm, "/#{id}/leadgen_forms", access_token) end
page_backed_instagram_accounts()
click to toggle source
# File lib/adparlor/facebook/graph_api/page.rb, line 21 def page_backed_instagram_accounts @page_backed_instagram_accounts ||= CollectionProxy.new(InstagramAccount, "/#{id}/page_backed_instagram_accounts", access_token) end
picture()
click to toggle source
# File lib/adparlor/facebook/graph_api/page.rb, line 17 def picture @picture ||= CollectionProxy.new(Picture, "/#{id}/picture", access_token) end
promotable_posts()
click to toggle source
# File lib/adparlor/facebook/graph_api/page.rb, line 9 def promotable_posts @promotable_posts ||= CollectionProxy.new(Post, "/#{id}/promotable_posts", access_token) end