• Resolved creexl

    (@creexl)


    Hello,

    I am using this plugin to show inventory. I upload items on my facebook page with pictures and description and use this plugin to show them onto a page on my website. When a item sells, I go back to the facebook feed and change the description to SOLD.

    However, with this plugin it does not update the feed on the website. It will always list the new stuff I post but never update what I have already posted if I were to updated it later on facebook. How can I fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi. Try this:

    File: /plugins/wd-facebook-feed/frontend/models/FFWDModelThumbnails.php

    $results = $wpdb->get_results($wpdb->prepare(‘SELECT * FROM ‘ . $wpdb->prefix . ‘wd_fb_data WHERE fb_id=”%d” ORDER BY created_time_number DESC ‘ . $limit_str, $id));

    Change to:

    $results = $wpdb->get_results($wpdb->prepare(‘SELECT * FROM ‘ . $wpdb->prefix . ‘wd_fb_data WHERE fb_id=”%d” ORDER BY DateModified ASC ‘ . $limit_str, $id));

    The same to /plugins/wd-facebook-feed/frontend/models/FFWDModelThumbnails_masonry.php

    $results = $wpdb->get_results($wpdb->prepare(‘SELECT * FROM ‘ . $wpdb->prefix . ‘wd_fb_data WHERE fb_id=”%d” ORDER BY created_time_number DESC ‘ . $limit_str, $id));

    Change to:

    $results = $wpdb->get_results($wpdb->prepare(‘SELECT * FROM ‘ . $wpdb->prefix . ‘wd_fb_data WHERE fb_id=”%d” ORDER BY DateModified ASC ‘ . $limit_str, $id));

    • This reply was modified 8 years, 3 months ago by livedeath.
    Plugin Contributor WD Support

    (@wdsupport)

    Hi,

    @livedeath Thanks for the suggested solution.

    @creexl was the solution helpful in solving the issue. Or would you like us to go further through the issue?

    Thanks. Have a nice day.

    Thread Starter creexl

    (@creexl)

    Unfortunately it still does not update the posts after editing the modelthumbnail files.

    Plugin Contributor WD Support

    (@wdsupport)

    Hi,

    Could you please check autoupdate interval? Maybe it’s set for a big period. You can shorten the update period to for example 30 minutes.

    Please, also check whether the Cron Jobs is activated in your hosting.

    Thanks. Have a nice day.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Make feed update the updated posts’ is closed to new replies.