igbot icon indicating copy to clipboard operation
igbot copied to clipboard

Delete Message/DM API

Open steffanjensen opened this issue 5 years ago • 4 comments

Please follow the guide below

  • Issues submitted without this template format will be ignored.
  • You will be asked some questions and requested to provide some information, please read them carefully and answer completely.
  • Put an x into all the boxes [ ] relevant to your issue (like so [x]).
  • Use the Preview tab to see how your issue will actually look like.

Before submitting an issue, make sure you have:

  • [x] Updated to the latest version
  • [x] Read the README and docs
  • [x] Searched the bugtracker for similar issues including closed ones

Purpose of your issue?

  • [ ] Bug report (encountered problems/errors)
  • [x] Feature request (request for a new functionality)
  • [ ] Question
  • [ ] Other

The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.


For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.

Paste the output of python -V here:

Code:

# Example code that will produce the error reported
from instabot import Bot

bot = Bot()
bot.login(username="user", password="pass")
followers = bot.get_user_followers(bot.user_id)

Error/Debug Log:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

Describe your issue

Explanation of your issue goes here. Please make sure the description is worded well enough to be understood with as much context and examples as possible.

The option to delete message on instabot, then we will be able to auto reply entire inbox.

steffanjensen avatar Nov 14 '19 04:11 steffanjensen

Sorry but I didn’t get the point: why message deletion would help with auto reply?

ohld avatar Nov 14 '19 09:11 ohld

Let's say i want to reply to all my messages. IG is limited to only scrape last 20 messages trough api. By deleting each message on reply, we are able to reply all messages.

Other asking for this feature: https://github.com/instagrambot/instabot/issues/1056 https://github.com/instagrambot/instabot/issues/567

steffanjensen avatar Nov 14 '19 10:11 steffanjensen

I think we need just to add pagination to get all messages request

ohld avatar Nov 14 '19 11:11 ohld

Any update on this @ohld ?

bruvv avatar Jan 15 '20 20:01 bruvv