- Added
getAppUsage
API - New minimum API version
v2.5
(v2.4 is no longer available) - Debug headers are now logged with DEBUG=fb:fbdebug
- Log messages to stderr using console.warn instead of console.log
- BREAKING CHANGE: Switched from the
request
library toneedle
- BREAKING CHANGE: Passing invalid methods or arguments to
FB.api
now throws a TypeError instead of logging and returning undefined - Use of the function-bind operator has been removed
- BREAKING CHANGE: Raised the minimum supported version of Node to
6.x
- BREAKING CHANGE:
any-promise
has been removed, native promises are now returned by default. If you wish to use a 3rd party promise library likebluebird
you must explicitly set thePromise
option instead of relying onany-promise
's behaviour -
- BREAKING CHANGE: CommonJS
require('fb')
must now use the.default
or.FB
export
- BREAKING CHANGE: CommonJS
- BREAKING CHANGE: Dropped support for FQL and Legacy REST Api
- BREAKING CHANGE: New minimum API version
v2.3
- BREAKING CHANGE:
FacebookApiException
andversion
are no longer available onFacebook
instances.- This means
FB.FacebookApiException
cannot be used when doingimport FB from 'fb';
orvar {FB} = require('fb');
you must importFacebookApiException
separately.
- This means
- BREAKING CHANGE: Drop support for node
0.10
and0.12
, node4
is the new minimum - BREAKING CHANGE: The old broken samples/ directory has been removed
FB.api
now supports usage with promises- Update deps
- Migrate to babel-preset-env
- Fix #54: FB methods should be bound
- Update deps:
request
:^2.62.0
->^2.67.0
chai
:^3.2.0
->^3.4.1
lodash.omit
:^3.1.0
->^4.0.1
mocha
:^2.3.2
->^2.3.4
nock
:^2.12.0
->^5.2.1
- Explicitly support ES2015
import
in Babel - Add
new Facebook(options)
for library usage - Add
FB.extend
for multi-app usage - Add
FB.withAccessToken
for alternate multi-user usage - Support file uploads using Buffers and read streams
- #22 Fix accidental global / strict mode bug
1.0.0
was accidentally tagged asnext
instead oflatest
, making1.0.1
the first official1.0.x
version.
- Add
beta
option - Update dep:
request
- Remove unused dependency on
crypto
package - BREAKING CHANGE: Drop support for node
0.6
and0.8
- Fix __dirname relative required that breaks browserify builds
- Add
userAgent
option - Add
version
option - Fix incorrect merging of string and object query params
- Add
DEBUG=fb:req,fb:sig
support pingFacebook
removed
Versions before 1.0.0 were maintained by Thuzi and were never given an official changelog.