在图形 api 上创建事件时如何上传图像?例子:
user.facebook.put_object("me", "events", name="test", start_time=start_date, end_time=end_date, picture=image)
我试过了:
image = 'C:\\Path\\to\\image.jpg' #and
image = open('C:\\Path\\to\\image.jpg', 'a') #and
image = open('C:\\Path\\to\\image.jpg', 'a').read() #and
没有工作。