drandreaskrueger

Results 101 comments of drandreaskrueger

```python import tweepy def auth(credentials_filename="twitter_credentials.txt"): with open(credentials_filename, 'r') as f: keys= f.read().split() auth = tweepy.OAuthHandler(keys[0], keys[1]) auth.set_access_token(keys[2], keys[3]) api = tweepy.API(auth, wait_on_rate_limit=True) me = api.me() print ("authenticated as: (id:%d, screen_name:%s)"...

Output: ``` authenticated as: (id:4093086737, screen_name:drandreaskruger) Twitter API.MENTIONS_TIMELINE (since_id=1192088672151179264, max_id=1192235796721553409) 20191107-002219 https://twitter.com/_/status/1192235796721553408 '@drandreaskruger @signsaresaying It is pretty sim 20191106-230333 https://twitter.com/_/status/1192215976512753664 '@drandreaskruger Some are leaders in that.' 20191106-143742 https://twitter.com/_/status/1192088672151179265 '@drandreaskruger @parents4future...

Great, THAT is what I needed here, fantastic thanks: > Account Activity API especially because: > Retweets of Quoted Tweets (by user or of user) that is then filling my...

> (tweepy) PR for Account activity Oh cool. Thanks a lot. > no REST API equivalent call for Account Activity Webhooks Ah thanks, good to know. Is there a technical...

Thanks a lot. And thanks for the offer with the pull request. We'll consider that. > using pickle for serialisation ... Thanks for that hint. Please show us the alternative....

Plus ... for passing data around, we only ever intend to pickle a `phe.paillier.EncryptedNumber`, and not a `phe.paillier.PaillierPrivateKey` - so I don't see a problem, right?

Just use JSON. Good.

Tiny issue in your deserializer example code: ``` public_key_rec = paillier.PaillierPublicKey(g=int(pk['g']), n=int(pk['n'])) E TypeError: __init__() got an unexpected keyword argument 'g' ``` because the constructor allows only to pass `n`,...

> I would carefully review and consider merging a pull request. Great, here is a starting point for that: [zlevas' changes](https://github.com/zlevas/python-paillier) from your py3 code to python 2.7 syntax seem...