instagram-graph-api
Version:
A library to help perform requests to the Instagram Graph API.
31 lines (30 loc) • 634 B
TypeScript
/**
* Interface to represent data regarding a Facebook page.
*
* @author Andres Gutierrez <andres99@gmail.com>
* @since 2.0.0
*/
export interface FacebookPage {
/**
* The page id.
*/
id: string;
/**
* The page name.
*/
name: string;
/**
* The access token associated with this page.
*/
access_token: string;
}
/**
* Interface to represent data regarding the list of Facebook
* pages this user has authorized to your app.
*
* @author Andres Gutierrez <andres99@gmail.com>
* @since 2.0.0
*/
export interface AuthorizedFacebookPagesData {
data: Array<FacebookPage>;
}