gita / bhagavad-gita-api

Bhagavad Gita API is an open-source API that lets anyone use the text from Srimad Bhagavad Gita in their own web or mobile application(s).

Home Page:https://rapidapi.com/bhagavad-gita-bhagavad-gita-default/api/bhagavad-gita3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Instagram Cron Job is failing

Gupta-Anubhav12 opened this issue Β· comments

πŸ™ 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