Constructors
constructor
- new User(accessToken: string): User
Properties
Private accessToken
accessToken: string
Private api
api
: Api = new api(this.accessToken)
Methods
friends
-
Parameters
-
Optional params: object
-
Optional expand?: string
-
Optional limit?: number
-
Optional mature_content?: boolean
-
Optional offset?: number
-
Optional username?: string
friendsSearch
-
Parameters
-
params: object
-
Optional mature_content?: boolean
-
query: string
-
Optional username?: string
profile
-
Parameters
-
Optional params: object
-
Optional expand?: string
-
Optional ext_collections?: boolean
-
Optional ext_galleries?: boolean
-
Optional mature_content?: boolean
-
Optional username?: string
status
-
Parameters
-
params: object
-
Optional mature_content?: boolean
-
statusid: string
statuses
-
Parameters
-
Optional params: object
-
Optional limit?: number
-
Optional mature_content?: boolean
-
Optional offset?: number
-
Optional username?: string
watchers
-
Parameters
-
Optional params: object
-
Optional expand?: string
-
Optional limit?: number
-
Optional mature_content?: boolean
-
Optional offset?: number
-
Optional username?: string
Gets all of the friends of the specified user, or yourself if none is specified.