We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
By having
FacebookAds.access_token = '[YOUR_ACCESS_TOKEN]'
we aren't able to manage multiple accounts on behalf of our clients because the .access_token set its value as a global state, at the class level.
.access_token
Ideal way would be instantiating FacebookAds with the access token, e.g
client1 = FacebookAds.new(access_token: '[ACCESS_TOKEN1]') client2 = FacebookAds.new(access_token: '[ACCESS_TOKEN2]')
Is there a workaround with the current code? Or any suggestion on how to proceed?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
By having
we aren't able to manage multiple accounts on behalf of our clients because the
.access_token
set its value as a global state, at the class level.Ideal way would be instantiating FacebookAds with the access token, e.g
Is there a workaround with the current code? Or any suggestion on how to proceed?
Thanks a lot.
The text was updated successfully, but these errors were encountered: