PHP Class InstagramScraper\Model\Media

Show file Open project: raiym/instagram-php-scraper Class Usage Examples

Public Properties

Property Type Description
$caption
$captionIsEdited
$code
$commentsCount
$createdTime
$id
$imageHighResolutionUrl
$imageLowResolutionUrl
$imageStandardResolutionUrl
$imageThumbnailUrl
$isAd
$likesCount
$link
$locationId
$locationName
$owner
$ownerId
$type
$videoLowBandwidthUrl
$videoLowResolutionUrl
$videoStandardResolutionUrl
$videoViews

Public Methods

Method Description
__construct ( )
fromApi ( $mediaArray )
fromMediaPage ( $mediaArray )
fromTagPage ( $mediaArray )
getCodeFromId ( $id )
getIdFromCode ( $code )
getLinkFromId ( $id )

Private Methods

Method Description
getCleanImageUrl ( $imageUrl )
getImageUrls ( $imageUrl )

Method Details

__construct() public method

public __construct ( )

fromApi() public static method

public static fromApi ( $mediaArray )

fromMediaPage() public static method

public static fromMediaPage ( $mediaArray )

fromTagPage() public static method

public static fromTagPage ( $mediaArray )

getCodeFromId() public static method

public static getCodeFromId ( $id )

getIdFromCode() public static method

public static getIdFromCode ( $code )

getLinkFromId() public static method

public static getLinkFromId ( $id )

Property Details

$caption public property

public $caption

$captionIsEdited public property

public $captionIsEdited

$code public property

public $code

$commentsCount public property

public $commentsCount

$createdTime public property

public $createdTime

$id public property

public $id

$imageHighResolutionUrl public property

public $imageHighResolutionUrl

$imageLowResolutionUrl public property

public $imageLowResolutionUrl

$imageStandardResolutionUrl public property

public $imageStandardResolutionUrl

$imageThumbnailUrl public property

public $imageThumbnailUrl

$isAd public property

public $isAd

$likesCount public property

public $likesCount

$locationId public property

public $locationId

$locationName public property

public $locationName

$owner public property

public $owner

$ownerId public property

public $ownerId

$type public property

public $type

$videoLowBandwidthUrl public property

public $videoLowBandwidthUrl

$videoLowResolutionUrl public property

public $videoLowResolutionUrl

$videoStandardResolutionUrl public property

public $videoStandardResolutionUrl

$videoViews public property

public $videoViews