-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🎉 Source TikTok Marketing: support oauth flow #7636
Conversation
…oauth # Conflicts: # .github/workflows/publish-command.yml # .github/workflows/test-command.yml # airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/source.py # airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/spec.py # docs/integrations/sources/tiktok-marketing.md # tools/bin/ci_credentials.sh
…oauth # Conflicts: # airbyte-oauth/src/main/java/io/airbyte/oauth/OAuthImplementationFactory.java
/test connector=connectors/source-tiktok-marketing
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments
airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/source.py
Outdated
Show resolved
Hide resolved
final URIBuilder builder = new URIBuilder() | ||
.setScheme("https") | ||
.setHost("ads.tiktok.com") | ||
.setPath("marketing_api/auth") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does this logic use "ads.tiktok.com" here but for loading of access tokens another one (business-api.tiktok.com)?
I remember that ads.tiktok.com is the old API domain. Please check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I can see in the documentation, TikTok changed its hostname only for API (ads.tiktok.com/open_api
-> business-api.tiktok.com/open_api
). Also, there is an Advertiser authorization URL in TikTok Apps Basic information, it starts from ads.tiktok.com
.
…oauth # Conflicts: # airbyte-oauth/src/main/java/io/airbyte/oauth/OAuthImplementationFactory.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please publish your changes
/test connector=connectors/source-tiktok-marketing
|
/publish connector=connectors/source-tiktok-marketing
|
What
Add TikTok Marketing OAuth support.


How
Change spec.py and source.py. Add java part.
Recommended reading order
Pre-merge Checklist
Expand the relevant checklist and delete the others.
Updating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereThis change is