Open bourbe opened 2 months ago
Hello I am facing a issue where I need help
I checked that in my account I cant upload with my emai and password and it is OK
I took into account the reco relative to the login issue
My code hereunder
` import random import time import os
from py3pin.Pinterest import Pinterest
pinterest = Pinterest(email='****@gmail.com', password='*****', username='business1', cred_root='C:/Users/clark.djilo/Downloads/AFFIL_PINTEREST/AWEBER/cred_root')
pinterest.login()
pinterest.upload_pin(board_id='1054264662709700836', image_file='C:/Users/clark.djilo/Downloads/AFFIL_PINTEREST/AWEBER/images/01_20240502224514.png', description='test_d', title='test_a', link='xxxx.com')
RETURN : HTTPError: 401 Client Error: Unauthorized for url: https://www.pinterest.com/upload-image/
pinterest.pin(board_id="1054264662709700836", image_url="https://drive.google.com/file/d/1RQmFlQNmq5TQAaaJwNQ_jVGDlPV35Ww1/view?usp=sharing", description="test_d", title="test_a", link="xxxx.com")
RETURN : HTTPError: 401 Client Error: Unauthorized for url: https://www.pinterest.com/resource/PinResource/create/ `
Please can you help me make this work please ?
Maybe you can try setting country to US and language to english in your pinterest profile as described here
Hello I am facing a issue where I need help
I checked that in my account I cant upload with my emai and password and it is OK
I took into account the reco relative to the login issue
My code hereunder
` import random import time import os
from py3pin.Pinterest import Pinterest
pinterest = Pinterest(email='****@gmail.com', password='*****', username='business1', cred_root='C:/Users/clark.djilo/Downloads/AFFIL_PINTEREST/AWEBER/cred_root')
pinterest.login()
pinterest.upload_pin(board_id='1054264662709700836', image_file='C:/Users/clark.djilo/Downloads/AFFIL_PINTEREST/AWEBER/images/01_20240502224514.png', description='test_d', title='test_a', link='xxxx.com')
RETURN : HTTPError: 401 Client Error: Unauthorized for url: https://www.pinterest.com/upload-image/
pinterest.pin(board_id="1054264662709700836", image_url="https://drive.google.com/file/d/1RQmFlQNmq5TQAaaJwNQ_jVGDlPV35Ww1/view?usp=sharing", description="test_d", title="test_a", link="xxxx.com")
RETURN : HTTPError: 401 Client Error: Unauthorized for url: https://www.pinterest.com/resource/PinResource/create/ `
Please can you help me make this work please ?