Operator Hi phenomlab,
I have everything working with the feed DB, but nothing is posted to flarum.
When I run php rssparser.php For each, out of the 10 items I get;
This does not exist...processing Checking https://articleURL/ This does not exist...processing
When I run php rssparser.php again For each, out of the 10 items I get;
Checking https://articleURL/ This has already been processed...skipping
When I check the feed DB, the id | url | title | seen content are there correctly.
But, nothing is posted to flarum.
Instructions I followed
$header = array(
"Authorization: Token the token you generated in the first step",
"Content-Type: application/json"
);
I changed "Authorization: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
In my flarum_api_keys table I have;
key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
id = 1
allowed_ips = NULL
scopes = NULL
user_id = I used "NULL" and I used the "userID"
created_at = 0000-00-00 00:00:00
last_activity_at = NULL
array(
'type' => 'tags',
'id' => "23"
)
` I changed 23 to the primary tag, (and even checked to make sure my tag settings is; Required Number of Primary Tags =1, Required Number of Secondary Tags =0)
curl_setopt($ch, CURLOPT_POST, 22); - I changed 22 to the user ID and gave the user admin rights.
Please what am I missing @phenomlab . Thanks in advance...