Documentation

Api
in package

Main Class of the library

Table of Contents

Properties

$cache  : Cache
$sender  : Sender

Methods

__construct()  : mixed
following()  : Following
Gets recommended users
foryou()  : ForYou
Gets for you feed.
hashtag()  : Hashtag
Gets hashtag from name.
music()  : Music
Gets videos that use a specific song
user()  : User
Gets user from username (@...)
video()  : Video
Gets video from ID, supports both Webapp and phone

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $config = [] ][, ICache|null $cache_engine = null ]) : mixed
Parameters
$config : array<string|int, mixed> = []
$cache_engine : ICache|null = null

hashtag()

Gets hashtag from name.

public hashtag(string $term) : Hashtag

Also known as tag or challenge

Parameters
$term : string

Hashtag name

Return values
Hashtag

music()

Gets videos that use a specific song

public music(string $term) : Music
Parameters
$term : string

Song ID

Return values
Music

user()

Gets user from username (@...)

public user(string $term) : User
Parameters
$term : string

Username

Return values
User

video()

Gets video from ID, supports both Webapp and phone

public video(string $term) : Video
Parameters
$term : string

ID

Return values
Video

        
On this page

Search results