Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author diegoquinteiro

    (@diegoquinteiro)

    This was lowered deliberately to improve performance.

    You should use the API integration to push your articles to Facebook.

    Just connect to your Facebook Page using the Settings screen of the plugin and then re-save the articles you wanna send to Facebook Instant Articles – they’ll be immediately pushed to Facebook and you’ll not need to use the RSS.

    Thread Starter marhgil

    (@marhgil)

    Ok. But it would be faster to submit just the RSS with 50 posts in it for their initial review than going thru each of the 50 posts and resaving them one by one.

    We went through similar with Google AMP where suddenly a ton of issues crop up and the plugin developers are working like firemen putting out every fire popping up.

    Hi all. Yeah, why not use the last 50 articles. Thats inconvenient. I would love to have a field where I can enter the number of articles in the feed.

    I agree with you, guys. It’s a waste of time update post by post until you have 50 just for submit.

    Honestly, you guys f*cked up this plugin. Why would you hardcode the feed limit to 10 when Facebook requires 50? Terrible design philosophy.

    To change it:

    Open up facebook-instant-articles.php in the plugin folder

    Edit the following line:
    $query->set( ‘posts_per_rss’, 10 );

    Change the number to 50

    I have the same problem, only the latest 10 articles came across to FBIA even though I made minor changes and re-saved 50 articles. (Note: newly published articles are coming across OK)

    Via FTP, I looked in facebook-instant-articles.php but the line guspollos123 mentioned actually had ‘100’ not ’10’ so that isn’t the problem.

    However, I’m seeing
    add_action( ‘pre_get_posts’, ‘instant_articles_query’, 10, 1 );
    and
    add_filter( ‘posts_where’ , ‘instant_articles_query_where’, 10, 2 );

    Should I change those to ’50’?

    I also saw this line:
    * If the constant INSTANT_ARTICLES_LIMIT_POSTS is set to true, we will limit the feed
    * to only include posts which are modified within the last 24 hours.
    * Facebook will initially need 100 posts to pass the review, but will only update
    * already imported articles if they are modified within the last 24 hours.

    I’m not experienced with PHP, I have no idea what I’m looking at ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Only 10 posts on the feed after upgrading to 2.7’ is closed to new replies.