Fix inclusion path on examples to reflect the new structure
Added two additional parameters for video/photo upload: brand_content_toggle, brand_organic_toggle. This was updated to the 3 classes VideoFromFile, VideoFromUrl, and ImagesFromURls. Also added the related getters.
BugFix: Method getMaxVideoDuration in class CreatorQuery was named incorrectly
BugFix: Duplicated title and caption when publishing images. Currently we'll ignore the title
BugFix: publicaly_available_post_id returned by the publish/status/fetch
sometimes is an array, even if not documented.
Improved errors on missing STATE variable during login
Major update to include Direct Publishing
- Publish a new video via url
- Publish a new image/carousel via url
- Publish a new video via file upload
** NOTE ** The TokenInfo class has been moved to the response namespace. If you include/use this class directly, make sure you update its namespace.
Improved custom function to retrieve the @handle of the user
Improved return function for the handle
Removed unused debugging info
Migrated the library to the new v2 TikTok api protocol
Added function to retrieve Token if needed
Implemented refreshToken method
Migrated Video/List from GET to POST so that it allows for more fields to be retrieved