jublo / codebird-php

Easy access to the Twitter REST API, Direct Messages API, Account Activity API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.
https://www.jublo.net/projects/codebird/php
GNU General Public License v3.0
776 stars 234 forks source link

How to Reply to another Tweet #225

Closed skynet closed 5 years ago

skynet commented 6 years ago

Maybe trivial but can't quickly figure it out. Pls help!

mynetx commented 6 years ago

@skynet Have you tried something along this?

$params = [
  'status' => '@LarryMcTweet I have already been there!',
  'in_reply_to_status_id' => '482239971399835648'
];
$reply = $cb->statuses_update($params);

This should send a Tweet in reply to Larry’s Tweet: https://twitter.com/LarryMcTweet/status/482239971399835648