tiktok / tiktok-opensdk-ios

The TikTok OpenSDK features Login Kit and Share Kit which allow your users to log in using their TikTok account and share content from your app to TikTok.
https://developers.tiktok.com
Other
74 stars 29 forks source link

404 Error when sharing asset from my app to TikTok with ShareKit #7

Closed penultimate-labs closed 1 year ago

penultimate-labs commented 1 year ago

I'm encountering an issue using the ShareKit flow as described in the docs with TikTokShareRequest out of the TikTokOpenShareSDK library. All configuration steps have been triple-checked (TikTokClientKey in the appropriate places, URL schemes all setup per documentation, we've added LoginKit and ShareKit and submitted and approved our app on the TikTok developer portal).

I've verified that the asset exists and the localIdentifier is valid. I send this request to TikTok and the TikTok app launches an internal webview with a 404 page. There is no subsequent callback to my app and thus no information as to what part of the process failed.

This used to work with the legacy TikTokOpenSDK and TikTokOpenSDKShareRequest we used to use but I don't believe either SDK works anymore. The previous result would properly start a new video creation flow on the TikTok app side with the asset recorded in my app loaded up as the base. This is all we're trying to do here, but the SDK seems broken to me.

penultimate-labs commented 1 year ago

I guess my TokTok iOS app was out of date