BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
app.imagivibe.com
/
vendor
/
noweh
/
twitter-api-v2-php
/
src
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Retweet.php
<?php namespace Noweh\TwitterApi; /** * Class Retweet Controller * @see <a href="https://developer.twitter.com/en/docs/twitter-api/tweets/retweets/api-reference">Tweet Retweet</a> * @author Julien Schmitt */ class Retweet extends AbstractController { /** * @param array<string> $settings * @throws \Exception */ public function __construct(array $settings) { parent::__construct($settings); $this->setEndpoint('users/' . $this->account_id . '/retweets'); $this->setHttpRequestMethod('POST'); $this->setAuthMode(1); } }
Save
Cancel