mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-02 20:11:09 +00:00
17 lines
364 B
PHP
17 lines
364 B
PHP
|
<?php
|
||
|
|
||
|
use Friendica\Core\Logger;
|
||
|
|
||
|
function bluesky_feed_run($argv, $argc)
|
||
|
{
|
||
|
require_once 'addon/bluesky/bluesky.php';
|
||
|
|
||
|
if ($argc != 3) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
Logger::debug('Importing feed - start', ['user' => $argv[1], 'feed' => $argv[2]]);
|
||
|
bluesky_fetch_feed($argv[1], $argv[2]);
|
||
|
Logger::debug('Importing feed - done', ['user' => $argv[1], 'feed' => $argv[2]]);
|
||
|
}
|