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.

    Hi alex85de I've already shared with the team and they will consider to update it for the upcoming version. Facebook has changed their APIs so there will be update.

    Regards

      2 months later

      Hi alex85de

      Could you pls backup your site and try with this package?

      jasocial-feed.zip
      328kB

        saguaros

        Thank you for the new version. I have just viewed it in my test environment.

        Unfortunately, it still does not work properly.

        So neither the problem 1 with the line breaks is solved nor the images are saved locally (problem 2).

        Do you have a changelog what should be changed / fixed?
        Otherwise I would ask you to contact your developers again. If there is a new version I will test again with pleasure.

          alex85de Could you share the URL + Admin + FTP account of that test site? I will check for you.

            saguaros
            have just tried it again. Works without problems. can it be that you still had a blank after the username?

              alex85de I often copy the text into editor and copy from there to avoid that blank space but no luck. Is there geoblocking? I'm based in Vietnam.

                saguaros
                No I don´t use any geo blocking. I just updated the password to a new one. Make sure that you are using the username joomlart
                Please try again.
                sorry for the inconvenience!

                  saguaros
                  i think i found the issue. your are using the productiv installation starting with 2021. Please use the test installation, starting with test.
                  -> different site URL

                    alex85de

                    I see but whenever I tried to access backend of the test site with test..../administrator , it always redirect to 2021.../administrator

                      saguaros

                      sorry it should work now. I have adjusted the .htaccess. It's also best to clear your cache briefly, to be on the safe side.

                        Hi alex85de

                        There seems still issue with the new API of Facebook, I've forwarded to our developer for further checking on this.

                        Write a Reply...
                        You need to Login to view replies.