1

我正在使用 Tweepy,但我正在尝试将它与 apigee 的 api 一起使用,但这样做需要我更改auth.py https://github.com/joshthecoder/tweepy/blob/master/tweepy/auth.py它看起来喜欢并重新制作包装。反正有没有将 tweepy 与另一个 api 一起使用?或者另一种方法来设置 Python 以使用 OAuth,但使用连接到 Twitter 的 apigee api。

谢谢,

4

1 回答 1

2

短版:需要对请求进行签名,就像他们要去 Twitter 一样,然后通过 Apigee 路由它们(即代理用例)。

此处提供链接的更长响应:http: //support.apigee.com/apigee/topics/using_python_and_apigees_twitter_api_with_oauth

于 2010-12-08T05:00:13.580 回答