{"id":15028796,"url":"https://github.com/tuks128/fanburst-php-api","last_synced_at":"2025-10-03T23:33:06.871Z","repository":{"id":57073556,"uuid":"141051984","full_name":"tuks128/fanburst-php-api","owner":"tuks128","description":"Fanburst - PHP API","archived":true,"fork":false,"pushed_at":"2018-07-31T19:09:32.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-13T16:19:28.420Z","etag":null,"topics":["fanburst","php","php-api"],"latest_commit_sha":null,"homepage":"https://fanburst.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuks128.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-15T19:15:59.000Z","updated_at":"2023-01-28T18:53:20.000Z","dependencies_parsed_at":"2022-08-24T10:50:40.163Z","dependency_job_id":null,"html_url":"https://github.com/tuks128/fanburst-php-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuks128%2Ffanburst-php-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuks128%2Ffanburst-php-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuks128%2Ffanburst-php-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuks128%2Ffanburst-php-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuks128","download_url":"https://codeload.github.com/tuks128/fanburst-php-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235204448,"owners_count":18952326,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fanburst","php","php-api"],"created_at":"2024-09-24T20:09:06.098Z","updated_at":"2025-10-03T23:33:01.620Z","avatar_url":"https://github.com/tuks128.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ***Fanburst - PHP API*** #\n\nComplex PHP5 CURL library. See also official documentation: https://developers.fanburst.com/\n\n## Install (Composer):\n\n```\ncomposer require tuks128/fanburst-php-api\n```\n\n## Initialization: ##\n```\n\u003c?php\n\nuse WaProduction\\Fanburst\\FanburstApi;\n\n$fanburstApi = new FanburstApi('CLIENT_ID', 'CLIENT_SECRET', 'AUTH_CALLBACK_URI');\n```\n\n## Auth: ##\n\nauth.php\n```\n\u003c?php\n\n$options = [\n  'state' =\u003e json_encode([\n      'custom_param' =\u003e 'custom_param_value',\n   ]),\n];\n  \nheader('Location: '.$fanburstApi-\u003egetOauthLoginUrl($options)); // get URL for login\n```\n\nauthCallback.php\n```\n\u003c?php\n\n$accessToken = $fanburstApi-\u003eexachangeCodeForAccessToken($_GET['code']);\n$fanburstApi-\u003esetAccessToken($accessToken);\n```\n\n## Other methods: ##\n```\n\u003c?php\n\n$fanburstApi-\u003egetAccessToken();\n$fanburstApi-\u003efollowUser('CHANNEL_ID')\n$fanburstApi-\u003esearchUser('CHANNEL_NAME');\n$fanburstApi-\u003emultipleCallTargets('CHANNEL_ID', function($target) { });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuks128%2Ffanburst-php-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuks128%2Ffanburst-php-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuks128%2Ffanburst-php-api/lists"}