1
0
Fork 0
mirror of https://github.com/nov/fb_graph2 synced 2023-03-27 23:22:15 -04:00

Graph API v2.2 - add page attributes

* impressum
* global_brand_page_name
* global_brand_parent_page
* name_with_location_descriptor
This commit is contained in:
nov 2014-10-31 18:04:54 +09:00
parent 4c47f736aa
commit 87fdb861e8

View file

@ -21,9 +21,10 @@ module FbGraph2
register_attributes(
raw: [
:about, :attire, :band_members, :booking_agent, :can_post, :category, :checkins, :company_overview,
:current_location, :description, :directed_by, :founded, :general_info, :general_manager, :hometown, :hours,
:is_permanently_closed, :is_published, :is_unclaimed, :likes, :link, :mission, :name, :phone, :press_contact,
:price_range, :products, :talking_about_count, :username, :website, :were_here_count,
:current_location, :description, :directed_by, :founded, :general_info, :general_manager, :global_brand_page_name,
:hometown, :hours, :impressum, :is_permanently_closed, :is_published, :is_unclaimed, :likes, :link, :mission, :name,
:name_with_location_descriptor, :phone, :press_contact, :price_range, :products, :talking_about_count, :username,
:website, :were_here_count,
# NOTE: only within /:user_id/accounts context
:perms
],
@ -33,7 +34,7 @@ module FbGraph2
:start_date, :end_date
],
date: [:birthday],
page: [:best_page],
page: [:best_page, :global_brand_parent_page],
photo: [:cover],
users: [
# NOTE: only as Struct::Education#classes and Struct::Work#projects