Skip to content
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: ask for pages_show_list,pages_read_engagement scopes during oauth #15802

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

sherifnada
Copy link
Contributor

What

Context in https://github.com/airbytehq/oncall/issues/322

How

This is a shot in the dark because reproducing this error is hard. It requires having an instagram business account, linked to a facebook page, accessible by a user who is not a member of Airbyte's business account. Setting this up will take time because Facebook requires real people to sign up for these accounts and requires actual business verification etc.. I'm also not sure how to mock this or if it's possible to do via some facebook provided sandbox. So here goes nothing.

Something which stood out to me is that facebook mentions we need the pages_show_list permission to get a customer's accounts, which we clearly do in this step. We even say in our docs for OSS users that this is required. So it certainly seems like a valid shot in the dark. I also added the pages_read_engagement permission for good measure since it allows an app to read metadata and other insights about the Page which seems vague enough that it is probably relevant. Again I would prefer to have exact reproducible scenarios here but we're sort of pressed for time on the linked issue.

Copy link
Contributor

@pedroslopez pedroslopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me!

@sherifnada sherifnada merged commit 7779df9 into master Aug 19, 2022
@sherifnada sherifnada deleted the sherif/ask-for-more-instagram-perms branch August 19, 2022 20:08
@pedroslopez
Copy link
Contributor

Do we have a way of knowing if this worked?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants