Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuks128/fanburst-php-api
Fanburst - PHP API
https://github.com/tuks128/fanburst-php-api
fanburst php php-api
Last synced: about 2 months ago
JSON representation
Fanburst - PHP API
- Host: GitHub
- URL: https://github.com/tuks128/fanburst-php-api
- Owner: tuks128
- Archived: true
- Created: 2018-07-15T19:15:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-31T19:09:32.000Z (over 6 years ago)
- Last Synced: 2024-09-25T20:09:12.908Z (about 2 months ago)
- Topics: fanburst, php, php-api
- Language: PHP
- Homepage: https://fanburst.com
- Size: 5.86 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ***Fanburst - PHP API*** #
Complex PHP5 CURL library. See also official documentation: https://developers.fanburst.com/
## Install (Composer):
```
composer require tuks128/fanburst-php-api
```## Initialization: ##
```
json_encode([
'custom_param' => 'custom_param_value',
]),
];
header('Location: '.$fanburstApi->getOauthLoginUrl($options)); // get URL for login
```authCallback.php
```
exachangeCodeForAccessToken($_GET['code']);
$fanburstApi->setAccessToken($accessToken);
```## Other methods: ##
```
getAccessToken();
$fanburstApi->followUser('CHANNEL_ID')
$fanburstApi->searchUser('CHANNEL_NAME');
$fanburstApi->multipleCallTargets('CHANNEL_ID', function($target) { });
```