Twython - 将带有可点击链接的视频上传到 Twitter

问题描述

有没有办法使用 twython 将可点击的网站链接添加到 Twitter 视频?

上传这样的常规视频:

twitter = Twython("key","key secret","token","token secret")


video = open('./final.mp4','rb')
response = twitter.upload_video(media=video,media_type='video/mp4',media_category='tweet_video',check_progress=True)
processing_info = response['processing_info']
state = processing_info['state']
wait = processing_info.get('check_after_secs',1)
if (state == 'pending' or state == 'in_progress'):
    print('Waiting ' + wait + 's')
    time.sleep(wait)

但那些只是普通视频,没有链接。我知道要手动完成,我必须通过广告中心或类似的东西来完成 - 但我也很想自动化。有什么办法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)