私はwechat APIを使用しています...ここでは、このAPI http://admin.wechat.com/wiki/index.php?title=Transferring_Multimedia_Filesを使用してwechatのサーバーに画像をアップロードしました
url = 'http://file.api.wechat.com/cgi-bin/media/upload?access_token=%s&type=image'%access_token
files = {
'file': (filename, open(filepath, 'rb')),
'Content-Type': 'image/jpeg',
'Content-Length': l
}
r = requests.post(url, files=files)
データを投稿できません