Hello! I wanted to ask for guidance on implementing a connector using the CDK. I want to create a TikTok connector that pulls organic
user (followers) and
video data (likes, shares, views) using TikTok API v2. I can't use the TikTok Marketing connector since it provides different data (Ads, Adgroups, etc.), not the organic data we need.
I started making the connector, but ran into issues on authentication: TikTok currently only supports OAuth2
for authentication. But I think the CDK only supports OAuth2 when you already have a refresh token, right, and not the full cycle?
Additionally, you have to sign up on TikTok'd developer platform and register your app and domain, and they'll only allow redirects after authorization to the domain you registered -- which I think would be hard if we're self-hosting Airbyte on our own machines. (Though the client we're developing this for is using Airbyte Cloud -- so I guess we could register the Airbyte Cloud domain? But then I don't know how connector development goes for Airbyte Cloud)
I also checked out the
Research API they have available, but since this is for a business, I don't qualify for access under their requirements.
Would any of you have advice on how to go about this and be able to implement the OAuth2 authentication? Right now, because of the domain registration requirement AIrbyte has, the only way I can see feasibly having a connector is if Airbyte itself deployed the connector (so the Airbyte Cloud domain is registered under Tiktok), and even then it would only be usable with Airbyte Cloud. 😢
I'd really appreciate any insights on this, I'm really not sure how to approach this particular issue. Thanks!