@ezsper/facebook
v0.0.14
Published
A Facebook Graph API Library with smart typings
Downloads
19
Readme
Facebook Graph Client
This is a personal Facebook Graph Client with proper types for typescript. Try it out live!
Still under development, not intended for production! 😁
Usage
import * as fb from '@ezsper/facebook';
const client = new fb.GraphClient({
accessToken: '',
appSecret: '',
});
const user = client.currentUser().get('/').execute({
fields: {
name: null,
gender: null,
accounts: {
modifiers: {
limit: 10,
},
fields: {
category: null,
},
},
},
});