PHP Class InstagramScraper\Model\Media

Exibir arquivo 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_oe property

public $caption

$captionIsEdited public_oe property

public $captionIsEdited

$code public_oe property

public $code

$commentsCount public_oe property

public $commentsCount

$createdTime public_oe property

public $createdTime

$id public_oe property

public $id

$imageHighResolutionUrl public_oe property

public $imageHighResolutionUrl

$imageLowResolutionUrl public_oe property

public $imageLowResolutionUrl

$imageStandardResolutionUrl public_oe property

public $imageStandardResolutionUrl

$imageThumbnailUrl public_oe property

public $imageThumbnailUrl

$isAd public_oe property

public $isAd

$likesCount public_oe property

public $likesCount

$locationId public_oe property

public $locationId

$locationName public_oe property

public $locationName

$owner public_oe property

public $owner

$ownerId public_oe property

public $ownerId

$type public_oe property

public $type

$videoLowBandwidthUrl public_oe property

public $videoLowBandwidthUrl

$videoLowResolutionUrl public_oe property

public $videoLowResolutionUrl

$videoStandardResolutionUrl public_oe property

public $videoStandardResolutionUrl

$videoViews public_oe property

public $videoViews