question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

retweets-with-comments of my own tweets, using tweepy.mentions_timeline() ?

See original GitHub issue

Stuck with trying to get the “retweets with comments” of my own tweets.

.

I have tried with the tweepy.api.mentions_timeline() because your 3.8.0 manual says

Returns the 20 most recent mentions, including retweets.

It actually gives me SOME positives, it’s a good start, for sure. But it’s not complete.

–> Some retweets-with-comments of my tweets are missing from ^ that.

While https://twitter.com/notifications is showing them just fine.

.

I made a foobar() simplification of my problem.

  • code is below.

  • Output is further below, but I will delete that when this is answered.

Any hint much appreciated.

.

Wow, tweepy is amazing, I really love it. Well done, and keep up the good work!
Thanks.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

1reaction
bplulycommented, Apr 27, 2020

(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 reason to not provide that?

It’s a Twitter choice to use push notifications, it means they are in control of their flow control. Within your own service it’s straightforward to accept the events on the web socket and then distribute them as a feed or a queue. I push events to an AWS SQS queue and pick them up and parse them and reprocess them at my system’s leisure.

0reactions
drandreaskruegercommented, Nov 12, 2019

(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 reason to not provide that?

Read more comments on GitHub >

github_iconTop Results From Across the Web

API — tweepy 4.12.1 documentation
Premium search that provides Tweets from as early as 2006, starting with the first Tweet posted in March 2006. Parameters. label – The...
Read more >
Python - API.mentions_timeline() in Tweepy - GeeksforGeeks
The mentions_timeline() method of the API class in Tweepy module is used to get the 20 most recent tweets of the authenticated user...
Read more >
How to Access Data from the Twitter API using Tweepy (Python)
The Twitter API allows you to do many things including retrieve tweet data. In order to access this data, you need a developer...
Read more >
How to Make a Twitter Bot in Python With Tweepy
In this article, you'll learn how to make your own Twitter Bot in Python with Tweepy, a package that provides a very convenient...
Read more >
Use Tweepy & Python to Scrape the Twitter API - Sean T. Doody
The coding examples contained in this codelab can be implemented in your favorite text editor and run as a standalone Python program, or ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found