InstagramApi
Class InstagramApi contains all the methods needed to interact with instagram.
Constructor Summary
| Public Constructor | ||
| public |
constructor(config: {"debug": boolean}) |
|
Method Summary
| Public Methods | ||
| public |
configurePhoto(objectPattern: {"uploadId": *, "captionText": *}): * |
|
| public |
Method to generate the session to Instagram. |
|
| public |
postFromFilepath(filepath: *, caption: *): * |
|
| public |
postFromUrl(url: *, caption: *): * |
|
| public |
uploadPhoto(source: *, captionText: *, isFilePath: *): Object Method to create a photo in instagram from a local filepath. |
|
Public Constructors
Public Methods
public configurePhoto(objectPattern: {"uploadId": *, "captionText": *}): * source
Params:
| Name | Type | Attribute | Description |
| objectPattern | {"uploadId": *, "captionText": *} |
|
Return:
| * |
public postFromFilepath(filepath: *, caption: *): * source
Params:
| Name | Type | Attribute | Description |
| filepath | * | ||
| caption | * |
Return:
| * |
public postFromUrl(url: *, caption: *): * source
Params:
| Name | Type | Attribute | Description |
| url | * | ||
| caption | * |
Return:
| * |