Module 1, Milestone 2

def publish_photo_msg(self, message, image_url):

    data = {

     

    'access_token': self.page_access_token,   

    'message':message,   

    'url': image_url

    }

    response = requests.post('https://graph.facebook.com/me/photos', data=data)

    return response

Caption and user_feeds error in unit test. Help me resolve the error!

Hi @Shaharyaar
Looks like you are facing challenges in the current module.

Below are a few similar topics raised by other users which you might find usefull

Note - This is a BETA Feature,if you find this helpful, kindly let us know.
Feedback link - https://forms.gle/cmxN5pdTXgnwgC986

Kindly mark this as a solution if this has helped you solve your query

You have not used page id in the code. Use the page id as well.

1 Like

Closing this topic as there is no response since last 12 hours. Please feel free to create a new topic and post this question as a reference link in the description of the new topic.