Properties

$check_logged

$check_logged : 

Login status

Type

$check_account

$check_account : 

Account status

Type

$check_account_name

$check_account_name : 

Checked account name

Type

$mediaNodes

$mediaNodes : 

Return information about account media

Type

$curlopt_cookiejar

$curlopt_cookiejar : 

Information about cookies

Type

$curlopt_cookiefile

$curlopt_cookiefile : 

Information about cookies

Type

$curlopt_useragent

$curlopt_useragent : 

User agent (Browser)

Type

Methods

__construct()

__construct(string  $username, string  $password) 

Login to Instagram

Parameters

string $username
string $password

readPage()

readPage(string  $data_url) 

Retrive account page

Parameters

string $data_url

isLiked()

isLiked(integer  $index = 1) 

Check if Media liked or no

Parameters

integer $index

likeRecent()

likeRecent(integer  $index = 1) 

Like Account media by Index

Parameters

integer $index

unlikeRecent()

unlikeRecent(integer  $index = 1) 

UnLike Account media by Index

Parameters

integer $index

checkAccount()

checkAccount(string  $account) 

Return Account status (TRUE OR FALSE)

Parameters

string $account

isVideo()

isVideo(integer  $index = 1) 

Check is video (TRUE OR FALSE)

Parameters

integer $index

checkLogged()

checkLogged() 

Return logged status (TRUE OR FALSE)

instagramLogout()

instagramLogout() 

Instagram Logout method

instagramLogin()

instagramLogin(string  $data_sent_username, string  $data_sent_password) 

Instagram Login method

Parameters

string $data_sent_username
  • Instagram username
string $data_sent_password
  • Instagram user password

instagramGettoken()

instagramGettoken() 

Get cookie information