In your plugin JA Social Feed I have found several errors in the import and display of content.
Problem 1:
No line breaks are inserted during import (Facebook). This causes the complete text to be displayed as one block.
As a temporary solution, I implemented a nl2br in the tablets\joomla.php file:
Addad after Line 135:
$item['articletext'] = nl2br($item['articletext']);
Problem 2:
In the settings I have selected "Save Image" at the Facebook settings.
Despite this setting, it seems that not all images are saved locally. In my experience, the saving only applies to the first image. All other images are not saved locally.
This problem is further complicated by the fact that the additional images are embedded via the link from Facebook, but the access token is also forgotten. Therefore, the display of the images fails due to an "An access token is required to request this resource. error on the side of Facebook.
As a temporary solution, I included the $access_token in the jasocial_feed.php
Line 681:
$post['source_content'] .= '<p><img src="https://graph.facebook.com/' . $dt->attachments->data[0]->target->id . '/picture?access_token='.$access_token.'"/></p>';
Line 687:
$post['source_content'] .= '<p><img src="https://graph.facebook.com/' . $photo->target->id . '/picture?access_token='.$access_token.'"/></p>';
Problem 3:
As soon as "Save Image" and “Update Article” is checked in the Facebook settings, the image seems to be saved redundantly during each import process. This results in countless duplicates of the images under images/jasocial_feed which cost storage space.
Problem4:
The plugin is not compatible with Facebook API 9, it will only work with the fix mentioned below.
https://www.joomlart.com/forums/d/33770-ja-social-feed-error/6
Also, currently the documentation does not fit.