0

How do I delete a Tweet given it's ID?

I've tried Twitter.status_destroy(1221312312) to no avail (undefined method)

These also do not work:

client.status(13123123123).delete client.status(13123123123).destroy

bevanb
  • 8,201
  • 10
  • 53
  • 90

1 Answers1

2

Documented here is the destroy_tweet (aka: destroy_status) method.

Looks like it should be simply:

client.destroy_tweet 13123123123
bevanb
  • 8,201
  • 10
  • 53
  • 90
smathy
  • 26,283
  • 5
  • 48
  • 68