Method | Description | |
---|---|---|
__construct ( ) | ||
blockUser ( string | |
Block User | |
changeProfilePicture ( string $path ) : |
Change Profile Picture | |
commentOnMedia ( string | |
Comment on Media | |
deleteCommentsFromMedia ( string | |
Delete Media Comments | |
deleteMedia ( string | |
Delete Media | |
editMedia ( string | |
Edit Media | |
editUserProfile ( string $firstname = null, string $email = null, string $phoneNumber = null, integer $gender = null, string $biography = null, string $externalUrl = null ) : |
Edit User Profile | |
followUser ( string | |
Follow User | |
generateDeviceId ( $seed ) : string | ||
getCSRFToken ( ) : string | ||
getCookies ( ) : array | ||
getCurrentUserAccount ( ) : |
Get Current User Account | |
getDeviceId ( ) : string | ||
getGUID ( ) : string | ||
getGoogleAdId ( ) : string | ||
getLikedFeed ( string $maxId = null ) : |
Fetch Liked Feed | |
getLocationFeed ( string | |
Fetch Location Feed | |
getLoggedInUser ( ) : |
||
getMediaComments ( string | |
Get Media Comments | |
getMediaInfo ( string | |
Get Media Info | |
getMyUserFeed ( string $maxId = null ) : |
Fetch My User Feed | |
getPhoneId ( ) : string | ||
getProxy ( ) : string | Get the HTTP Proxy to be used for Instagram API Requests | |
getProxyCredentials ( ) : string | Get the HTTP Proxy Credentials to be used for Instagram API Requests | |
getRankToken ( ) : string | ||
getTagFeed ( string $tag, string $maxId = null ) : |
Fetch Tag Feed | |
getTimelineFeed ( string $maxId = null ) : |
Fetch Timeline Feed | |
getUUID ( ) : string | ||
getUserByUsername ( string $username ) : |
Get User by Username | |
getUserFeed ( string | |
Fetch User Feed | |
getUserFollowers ( string | |
Get User Followers | |
getUserFollowing ( string | |
Get User Following | |
getUserInfo ( string | |
Get User Info | |
getUserMap ( string | |
Get GeoMedia from Map of User | |
getUserRankToken ( ) : string | ||
getUserTagsFeed ( string | |
Fetch User Tags Feed | |
initFromSavedSession ( $session ) | Initialize the Instagram instance from a previously saved session | |
isLoggedIn ( ) : boolean | ||
likeMedia ( string | |
Like Media | |
login ( $username, $password ) : |
Login to Instagram with Credentials | |
logout ( ) : API\Response\LogoutResponse | Logout | |
postPhoto ( string $path, string $caption = null ) : |
Post Photo to Timeline | |
removeProfilePicture ( ) : |
Remove Profile Picture | |
saveSession ( ) : string | Save the current Instagram session to a JSON string | |
searchFacebookPlaces ( string $query ) : |
Search Facebook Places | |
searchFacebookPlacesByLocation ( string $latitude, string $longitude ) : |
Search Facebook Places by Location | |
searchTags ( string $query ) : |
Search Tags | |
searchUsers ( string $query ) : |
Search Users | |
setAccountPrivate ( ) : |
Set Account as Private | |
setAccountPublic ( ) : |
Set Account as Public | |
setCookies ( array $cookies ) | ||
setCsrfToken ( string $csrfToken ) | ||
setDeviceId ( string $deviceId ) | ||
setGoogleAdId ( string $googleAdId ) | ||
setGuid ( string $guid ) | ||
setLoggedInUser ( |
||
setPhoneId ( string $phoneId ) | ||
setProxy ( $proxy, string $username = null, string $password = null ) | Set the HTTP Proxy to be used for Instagram API Requests | |
setRankToken ( string $rankToken ) | ||
setUuid ( string $uuid ) | ||
setVerifyPeer ( $verifyPeer ) | Enable/Disable SSL Verification of Peer | |
setupAsNewDevice ( ) | Setup this instance with a fresh GUID, UUID and Phone ID. | |
shouldVerifyPeer ( ) : string | SSL Verification of Peer | |
showFriendship ( string | |
Show Friendship between User | |
unblockUser ( string | |
Unblock User | |
unfollowUser ( string | |
Unfollow User | |
unlikeMedia ( string | |
Unlike Media |
public changeProfilePicture ( string $path ) : |
||
$path | string | File path of Profile Picture to Upload |
return |
public commentOnMedia ( string | |
||
$mediaId | string | |
FeedItem or FeedItem Id to Comment on |
$comment | string | Comment |
return |
public deleteCommentsFromMedia ( string | |
||
$mediaId | string | |
FeedItem or FeedItem Id to Delete Comments from |
$commentIds | array | Array of Comment Ids to Delete |
return | API\Response\BulkDeleteCommentsMediaResponse |
public deleteMedia ( string | |
||
$mediaId | string | |
FeedItem or FeedItem Id to Delete |
$mediaType | string | Media Type (Constants available in DeleteMediaRequest class) |
return |
public editUserProfile ( string $firstname = null, string $email = null, string $phoneNumber = null, integer $gender = null, string $biography = null, string $externalUrl = null ) : |
||
$firstname | string | First Name |
string | ||
$phoneNumber | string | Phone Number |
$gender | integer | Gender (Constants available in User class) |
$biography | string | Biography |
$externalUrl | string | External Url |
return |
public followUser ( string | |
||
$userId | string | |
User or User Id to Follow |
return |
public getCurrentUserAccount ( ) : |
||
return |
public getLikedFeed ( string $maxId = null ) : |
||
$maxId | string | Next Maximum Id, used for Pagination |
return |
public getLocationFeed ( string | |
||
$locationId | string | |
Location or Location Id to get Feed of |
$maxId | string | Next Maximum Id, used for Pagination |
return |
public getLoggedInUser ( ) : |
||
return |
public getMediaComments ( string | |
||
$mediaId | string | |
FeedItem or FeedItem Id of Media to get Comments from |
$maxId | string | Next Maximum Id, used for Pagination |
return |
public getMediaInfo ( string | |
||
$mediaId | string | |
FeedItem or FeedItem Id to get Info of |
return |
public getMyUserFeed ( string $maxId = null ) : |
||
$maxId | string | Next Maximum Id, used for Pagination |
return |
public getProxyCredentials ( ) : string | ||
return | string |
public getTagFeed ( string $tag, string $maxId = null ) : |
||
$tag | string | Tag |
$maxId | string | Next Maximum Id, used for Pagination |
return |
public getTimelineFeed ( string $maxId = null ) : |
||
$maxId | string | Next Maximum Id, used for Pagination |
return |
public getUserByUsername ( string $username ) : |
||
$username | string | Username to find User by |
return |
public getUserFeed ( string | |
||
$userId | string | |
User or User Id to get Feed of |
$maxId | string | Next Maximum Id, used for Pagination |
return |
public getUserFollowers ( string | |
||
$userId | string | |
User or User Id to get Followers of |
$maxId | string | Next Maximum Id, used for Pagination |
return |
public getUserFollowing ( string | |
||
$userId | string | |
User or User Id to get Following of |
$maxId | string | Next Maximum Id, used for Pagination |
return |
public getUserInfo ( string | |
||
$userId | string | |
User or User Id to get Info of |
return |
public getUserMap ( string | |
||
$userId | string | |
User or User Id to get GeoMedia of |
return |
public getUserTagsFeed ( string | |
||
$userId | string | |
User of User Id to get Tags Feed of |
$maxId | string | Next Maximum Id, used for Pagination |
return |
public initFromSavedSession ( $session ) | ||
$session | string Instagram session JSON |
public login ( $username, $password ) : |
||
$username | string Instagram Username | |
$password | string Instagram Password | |
return |
public logout ( ) : API\Response\LogoutResponse | ||
return | API\Response\LogoutResponse |
public removeProfilePicture ( ) : |
||
return |
public saveSession ( ) : string | ||
return | string | Instagram session as JSON string |
public searchFacebookPlaces ( string $query ) : |
||
$query | string | Place to Search for |
return |
public searchFacebookPlacesByLocation ( string $latitude, string $longitude ) : |
||
$latitude | string | Latitude |
$longitude | string | Longitude |
return |
public searchTags ( string $query ) : |
||
$query | string | Tag to Search for |
return |
public searchUsers ( string $query ) : |
||
$query | string | User to Search for |
return |
public setAccountPrivate ( ) : |
||
return |
public setAccountPublic ( ) : |
||
return |
public setLoggedInUser ( |
||
$loggedInUser |
public setVerifyPeer ( $verifyPeer ) | ||
$verifyPeer | boolean |
public setupAsNewDevice ( ) |
public shouldVerifyPeer ( ) : string | ||
return | string |
public showFriendship ( string | |
||
$userId | string | |
User or User Id to show Friendship between |
return |
public unblockUser ( string | |
||
$userId | string | |
User or User Id to Unblock |
return |
public unfollowUser ( string | |
||
$userId | string | |
User or User Id to Unfollow |
return |
public unlikeMedia ( string | |
||
$mediaId | string | |
FeedItem or FeedItem Id to Unlike |
return | API\Response\UnlikeMediaResponse |