twitter icon indicating copy to clipboard operation
twitter copied to clipboard

Reply to tweet feature request

Open amiranagram opened this issue 3 years ago • 4 comments

I want to be able to reply to a tweet with status update. Very useful with Twitter bots that have a Laravel back-end.

I'm willing to code this.

amiranagram avatar Mar 11 '21 17:03 amiranagram

Hey, sry I missed this issue. So you mean like you provide a status update id (= tweet) and the notification should be a reply to that tweet?

christophrumpel avatar Jan 31 '22 15:01 christophrumpel

@christophrumpel Exactly. Something like:

public function toTwitter($notifiable)
{
    return (new TwitterStatusUpdate('Laravel notifications are awesome!'))
        ->inReplyTo($this->tweet_id);
}

amiranagram avatar Jan 31 '22 15:01 amiranagram

I like the idea. Did you maybe already check how it could work technically? Would you want to work on a PR on that?

christophrumpel avatar Feb 01 '22 06:02 christophrumpel

I know how it works. I built a Twitter bot last year that I already abandoned. 😅

Would you want to work on a PR on that?

Sure.

amiranagram avatar Feb 01 '22 08:02 amiranagram