@uppy/companion
Version:
OAuth helper and remote fetcher for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:
24 lines (23 loc) • 557 B
TypeScript
export = Facebook;
/**
* Adapter for API https://developers.facebook.com/docs/graph-api/using-graph-api/
*/
declare class Facebook extends Provider {
list({ directory, token, query }: {
directory: any;
token: any;
query?: {
cursor: any;
};
}): Promise<any>;
download({ id, token }: {
id: any;
token: any;
}): Promise<any>;
thumbnail(): Promise<void>;
logout({ token }: {
token: any;
}): Promise<any>;
#private;
}
import Provider = require("../Provider");