Describe the issue briefly
How much time have you spent debugging this issue?
(Please spend at least 15 minutes to resolve the issue on your own before posting a new topic here)
What is your hypothesis?
please explain the process of running views.py, i am also getting error if i have not added a single line of code in it.
You have hardcoded the values in pinterest_post.py file. Please avoid that.
You have made changes in def init(self) in facebook_post.py please revert back the changes in that definition. Use facebook_post.py as a reference and complete pinterest_post.py there are some definitions which are missing. There is a reason that access_token.sh file is given please use that file. Don’t hardcode any values. As it might not pass the assessment.
okay , let me try the same
I founded the error can you please explain how to convert this url (
generated from pinterest api to url we will use in pinterest.py,
i did like this
response = requests.post(“https://api.pinterest.com/v1/pins”,params=params)
and passing the values in params as did early in facebook.py
try using url as ‘https://api.pinterest.com/v1/pins/?access_token=%s’%self.page_access_token
I am also getting the same error but I have not hardcoded any value in pinterest_post.py
Is your problem resolved?? How did you resolve it?? I am also getting same error
not yet solved, i will let you know if i know in future
hey just ignore that and proceed. you need not run views.py
okay, i did some changes in init method on facebook post.py , can you give the screenshot of the function that was provided .
can you please suggest some solution , i have done the changes that you wanted me to do!!
and also my facebook_post.py and pinterest_post.py is working fine
In pinterest_post.py you have hardcoded the parameters and you are not using the parameters passed in the function.