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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Instagram Cron Job is failing #89

Closed
Gupta-Anubhav12 opened this issue Jun 14, 2022 · 0 comments
Closed

[BUG] Instagram Cron Job is failing #89

Gupta-Anubhav12 opened this issue Jun 14, 2022 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Gupta-Anubhav12
Copy link
Member

Gupta-Anubhav12 commented Jun 14, 2022

馃檨 Actual behavior

So our instagram accont was taken down because of voilation of their policies, using a 3rd party library to post images and stuff
so this made our social media cron job to get deactivated,

馃檪 Expected behavior

We need to disable instagram post request and then reactivate the cron job that we are hosting on cron-jobs.org

we need to comment this line

instagram_response = bot.post_on_instagram()

and modify the below if statement to remove instagram condition

if twitter_response == 200 :
                return Response(
                    status_code=201,
                    content="Verse of the day has been posted on Instagram and twitter",
                )

馃敘 Steps to Reproduce the Problem

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants