Skip to content

Latest commit

 

History

History
98 lines (60 loc) · 3.38 KB

CHANGELOG.md

File metadata and controls

98 lines (60 loc) · 3.38 KB

Changelog

All notable changes to this project will be documented in this file.

For more information about changelogs, check Keep a Changelog and Vandamme.

1.0.0.beta11

  • [IMPROVEMENT] Return UTC time for String value of created_time, backdated_time, end_time, etc from Facebook to have exact time.
  • [FEATURE] Add Fb::Post#lifetime_insights method to get metrics of each post.
  • [BUGFIX] Return empty hash instead of nil when a metric returns empty array.

How to upgrade

If your code calls .consumptions then you must replace that code with .clicks since those metrics will no longer be supported by Facebook API as of August 1, 2018. If your code calls fan_reach from a Fb::Post then you must remove that code because Facebook removed that metric from version 3.0 and they already applied the change to v2.9 the version currently fb-core uses.

  • [REMOVAL] Remove #consumptions method for posts
  • [REMOVAL] Remove #fan_reach method for posts
  • [FEATURE] Add #clicks method for posts

1.0.0.beta10 - 2018/05/01

  • [FEATURE] Add :since and :until option to Page#videos method.

1.0.0.beta9 - 2018/04/25

  • [FEATURE] Add :without_lifetime_metrics option to Page#videos method.

1.0.0.beta8 - 2018/04/20

  • [FEATURE] Add consumptions, engaged_fan, fan_reach and many more metrics to Fb::Post.

1.0.0.beta7 - 2018/04/09

How to upgrade

If your code is expecting Page#weekly_insights method to return 0 value when response is empty, now it returns nil. This is a breaking change.

  • [IMPROVEMENT] Return nil for empty metric value in weekly_insights.

1.0.0.beta6 - 2018/04/05

  • [FEATURE] Add backdated_time, total_impressions, total_impressions_unique, total_complete_views and total_complete_views_unique to Fb::Video.

1.0.0.beta5 - 2018/03/29

  • [REMOVAL] Remove Fb::Page#insights_with_date_range method.

1.0.0.beta4 - 2018/03/27

  • [FEATURE] Add Fb::Page#insights_with_date_range and Fb::Page#posts_with_time_range.

1.0.0.beta3 - 2018/03/14

  • [FEATURE] Add video_avg_time_watched to Fb::Post for length of average time watched.

1.0.0.beta2 - 2018/03/06

  • [FEATURE] Add impressions to Fb::Post for number of impressions of a post.

1.0.0.beta1 - 2018/02/14

  • [ENHANCEMENT] Fix and use Page Access Token when request page insights.

1.0.0.alpha12 - 2017/12/08

  • [FEATURE] Add Fb::Video and Fb::Page#videos
  • [FEATURE] Add fields of "/videos" endpoint such as comment_count, length etc to Fb::Video
  • [FEATURE] Add metrics from "/video_insights" endpoint such as total_views to Fb::Video

1.0.0.alpha11 - 2017/12/01

  • [FEATURE] Add share_count to Fb::Post for number of shares of a post.

1.0.0.alpha10 - 2017/09/07

  • [FEATURE] Add comment_count, like_count, and reaction_count to Fb::Post for number of comments, number of likes, and number of reactions of a post.

1.0.0 - 2017/07/24

  • [FEATURE] Added Fb::User
  • [FEATURE] Added Fb::Page
  • [FEATURE] Added Fb::Page#posts
  • [FEATURE] Added Fb::Page#like_count
  • [FEATURE] Added Fb::Page#view_count
  • [FEATURE] Added Fb::Page#weekly_insights
  • [FEATURE] Added Fb::Page#metric_insights