All Versions
31
Latest Version
Avg Release Cycle
88 days
Latest Release
127 days ago

Changelog History
Page 1

  • v2.5.2

    February 26, 2020
    • ⚡️ [FIX] Update go.mod import path from github.com/huandu/facebook to github.com/huandu/facebook/v2. Since go1.14, incompatible versions are omitted by default.
  • v2.5.1

    December 12, 2019
    • [FIX] #150 Add additional error messages to help debug issues. Thanks @sothychan.
  • v2.5.0

    November 17, 2019
    • [NEW] #147 MakeParams is aware of struct field tag "facebook" and "json" now. It works quite similar to json.Marshal except that it makes any data to Params instead of JSON string. Thank @samber for your input.
    • [FIX] #148 Fix a panic in Param#Encode when a nil value is included in Param. Thanks again, @samber.
  • v2.4.0

    April 30, 2019
    • 👍 [NEW] #126 #128 Support v3.3 rate limiting header x-business-use-case-usage, x-ad-account-usage and X-FB-Ads-Insights-Throttle in UsageInfo. Use it in any Result by calling Result#UsageInfo(). It's also available in PagingResult by calling PagingResult#UsageInfo(). Thanks @OwlLaboratory for raising this change for me. And Thanks @AlphaB for your PR.
  • v2.3.3

    December 25, 2018
    • [FIX] #120 Use timing-safe hmac.Equal to check signed request. Thanks, @gstvg.
  • v2.3.2

    September 06, 2018
    • 📜 [FIX] #114 Correctly parse query string in the path which doesn't start with '/', e.g. fb.Get("me?fields=name,email", nil).
  • v2.3.1

    September 06, 2018
    • [FIX] #114 Query string in the path, e.g. fb.Get("/me?fields=name,email", nil), works as expected now. Thanks, @AsifArko.
  • v2.3.0

    August 03, 2018
    • [FIX] #110 Use HTTP GET to send request in which the method is GET. Thank @nayakravi for raising this issue, and Thank @AlphaB and @robbiet480 for your valuable inputs.
  • v2.2.0

    May 14, 2018
    • 👍 [NEW] #103 Add RFC3339Timestamps flag to set date_format on every API request. If this flag is set, all date value returned by facebook will be encoded with a format supported by json.Unmarshal. Thanks, @robbiet480.
    • [NEW] #105 Added ability to override Session base URL. It's designed for unit testing. All session requests can be redirected to a test server by setting Session#BaseURL to a test URL. Thanks, @vania-pooh.
  • v2.1.2

    December 28, 2017
    • [FIX] #87 Fix a crash in Session#addUsageInfo. Thanks, @flemeur.