-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 Instagram: Use Optional Instagram Business Account IDs. #22365
Conversation
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.
Hey @phani2410 ! Thank you for this addition and congratulations to your first contribution to airbyte!! 🎉
The code generally looks reasonable and good to me. However, can you please tell me why you used 10 / 17 digit regex at the highlighted positions? Why don't you use 15 digit to match the specs of a IG Business ID?
airbyte-integrations/connectors/source-instagram/source_instagram/source.py
Show resolved
Hide resolved
airbyte-integrations/connectors/source-instagram/integration_tests/spec.json
Outdated
Show resolved
Hide resolved
airbyte-integrations/connectors/source-instagram/integration_tests/spec.json
Outdated
Show resolved
Hide resolved
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! Thank you @phani2410
@sajarin @marcosmarxm it's your turn
@sajarin and @marcosmarxm, Please review this PR. |
@sajarin and @marcosmarxm, Please review this PR. |
Why was the pull request closed? I need data from multiple accounts. |
Reopening it. |
What
Add Optional field to Instagram Source Config, for adding Instagram Business Account Ids.
How
Parse the Instagram Business Account IDs and filter the instagram business accounts that are available through the given access token. If no input is provided, all the instagram business accounts will be considered for the connection.
Recommended reading order
airbyte-integrations/connectors/source-instagram/integration_tests/spec.json
airbyte-integrations/connectors/source-instagram/source_instagram/source.py
airbyte-integrations/connectors/source-instagram/unit_tests/conftest.py
🚨 User Impact 🚨
Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the 🚨🚨 emoji so changelog authors can further highlight this if needed.
No Breaking changes. This will enable user to selectively stream data for given Instagram Account Ids (instead of all the connected business accounts available for the given access token)
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 hereUnit Tests
Acceptance Tests