twitter - How to get last user's tweet which is not reply nor retweet -


seems simple user's timeline tweets , exclude replies , retweets, or without count&page params in user_timeline.json looks impossible first (non reply, non retweet) tweet of user tweet not in first place in api response.

for example @gmail has last tweet 30.8.2017, first 7 pages each having max 200 results full of replies , retweets, need filtered out. when using paging params, not, doc says - these unwanted records filtered after applying paging params: "using exclude_replies count parameter mean receive up-to count tweets — because count parameter retrieves many tweets before filtering out retweets , replies."

so there other way (besides stream api, , search limited 7 days given @gmail tweet won't returned wel) iterating through result pages until first (non reply, non retweet) tweet met?


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -