uppy/packages/@uppy/facebook
Merlijn Vos 6e65cd8c51
Import types consistently from @uppy/core (#5589)
* Import types consistently from @uppy/core

* Add new eslint rule

* Clean up exports
2025-01-09 11:03:43 +01:00
..
src Import types consistently from @uppy/core (#5589) 2025-01-09 11:03:43 +01:00
.npmignore @uppy/facebook: refactor to TypeScript (#4979) 2024-03-10 11:22:53 +01:00
CHANGELOG.md Release: uppy@4.11.0 (#5574) 2025-01-06 14:11:04 +00:00
LICENSE companion,facebook: add support for facebook provider 2019-08-22 14:50:48 +01:00
package.json Release: uppy@4.11.0 (#5574) 2025-01-06 14:11:04 +00:00
README.md Fix links (#5492) 2024-10-29 13:54:00 +01:00
tsconfig.build.json Remove "paths" from all tsconfig's (#5572) 2025-01-06 12:14:42 +01:00
tsconfig.json Remove "paths" from all tsconfig's (#5572) 2025-01-06 12:14:42 +01:00

@uppy/facebook

Uppy logo: a smiling puppy above a pink upwards arrow

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

The Facebook plugin for Uppy lets users import files from their Facebook account.

A Companion instance is required for the Facebook plugin to work. Companion handles authentication with Facebook, downloads files from Facebook and uploads them to the destination. This saves the user bandwidth, especially helpful if they are on a mobile connection.

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

import Uppy from '@uppy/core'
import Facebook from '@uppy/facebook'

const uppy = new Uppy()
uppy.use(Facebook, {
  // Options
})

Installation

$ npm install @uppy/facebook

Alternatively, you can also use this plugin in a pre-built bundle from Transloadits CDN: Smart CDN. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uppy website.

License

The MIT License.