Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • noffy Friend
    #959033

    I use the JA Social Feed Plugin with Facebook in the JA Minisite template and it worked very well. Is exactly what I was looking for. But when I only have a video in the Facebook post it will display an image with "?".

    I think this is a failure in the plugin. Maybe it has to differ if the main image is an image or a video.

    Otherwise if there is no image in the post it should be possible to define a standard image which will be displayed (or leave it blank for no image to display).

    Saguaros Moderator
    #959270

    Hi @noffy,

    You can update the admin login info of your site so we can have a look and check for you.

    noffy Friend
    #1002433
    This reply has been marked as private.
    Saguaros Moderator
    #1002508

    Hi noffy,

    You can send me the Facebook page ID from which you want to import feeds into your site, I will try at my end.

    Regards

    noffy Friend
    #1005493
    This reply has been marked as private.
    Saguaros Moderator
    #1005761

    Hi noffy,

    I tried to import from that FB page but it always get images correctly. Could you try to remove these articles (which have image with question mark) and configure the FB profile in JA Social feed plugin like this screenshot? http://prntscr.com/e0ipmw

    Then run the cron job again.

    Regards

    noffy Friend
    #1005984

    Hi Saguaros,

    these settings will change nothing. All posts with an image will still imported correctly. Only posts with an VIDEO will have the "?"-image as result. Therefore I think the extension does not differences between image and video. It still tries to display the video with an img-Tag. The result is the img-Tag.

    It’s the same for se JA slideshow extension. It only knows images and no videos.

    Maybe you check these extensions and give them the possibility to differ between images and videos.

    regards.
    noffy

    Saguaros Moderator
    #1006709

    Hi noffy,

    FB limits the imported feeds each time you run the cron (only 20 items) so I can’t see the issue, could you post a new feed into above FB page so I can check?

    Which slideshow are you referring to? If it’s JA Slideshow module, it can support images only, not video.

    Regards

    noffy Friend
    #1017720
    This reply has been marked as private.
    Saguaros Moderator
    #1017947

    You can share the Admin login info of your site so I will take a look.

    noffy Friend
    #1018338
    This reply has been marked as private.
    Saguaros Moderator
    #1018655

    Let me check with the facebook ID you sent above and see how it goes.

    Mo0nlight Moderator
    #1021265

    Hi.

    You could try this.
    Edit the file /plugins/system/jasocial_feed/jasocial_feed.php
    Look for line :321

    $dt->desc      = '';

    Add this under.

    $dt->type      = $item->type;

    Look around line 425:

    $post['source_images'] = $this->getFacebookImage('<img src="'.$dt->img.'" />',$img_caption, $img_caption);

    add this above

    if ($dt->type == 'video') {
                            $dt->img = 'https://graph.facebook.com/'.preg_replace('/^(.*?)_/','',$dt->id).'/picture';
                        }

    And for now we can only get small thumbnail of video post in public mode without access token.

Viewing 13 posts - 1 through 13 (of 13 total)

This topic contains 12 replies, has 3 voices, and was last updated by  Mo0nlight 7 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum