The plugin is causing exception in ajax call:
Uncaught ArgumentCountError: Too few arguments to function instant_articles_embed_oembed_html(), 3 passed in …wp-includes/class-wp-hook.php on line 308 and exactly 4 expected in …wp-content/plugins/fb-instant-articles/embeds.php:25
]]>We took the latest clone of Fbia plugin and installed composer in it. We have follow these steps which are defined Here(https://github.com/Automattic/fb-instant-articles ).
We also replaced the old FBIA(Version: 4.2.1) plugin with the new one(Version: 5.0.2), but now we are getting the fatal error. Please see this error.
Fatal error: Cannot declare class Instant_Articles_Jetpack, because the name is already in use in /var/www/html/ie-local/wp-content/plugins/fb-instant-articles123/src/compat/class-instant-articles-jetpack.php on line 9
Please help me as soon as possible.
]]>Hello,
I was just testing the latest version of the plugin and noticed there’s been added following definition within this commit – https://plugins.trac.www.ads-software.com/browser/fb-instant-articles/trunk/class-instant-articles-post.php?rev=2800485#L65
/**
* @var InstantArticle|mixed|null
*/
private $instant_article;
If case somebody is using within their code similar type of logic as per the example here https://plugins.trac.www.ads-software.com/browser/fb-instant-articles/trunk/wpcom-helper.php?rev=2800879#L24 it throws fatal error, because instant_article property is declared as protected, whereas before it wasn’t defined
What would be the best way around this?
Thanks a lot.
]]>After updating the latest version of Instant article bengali website is not working properly. Fonts not working
]]>with the last update of the plugin Instant Articles for WP on October 18 I have this error for each new note
Fatal error: Uncaught Error: Class ‘Facebook\InstantArticles\Transformer\Transformer’ not found in /nas/content/live/ultimasnoticia/wp-content/plugins/fb-instant-articles/class-instant-articles-post.php:613 Stack trace: #0 /nas/content/live/ultimasnoticia/wp-content/plugins/fb-instant-articles/class-instant-articles-post.php(874): Instant_Articles_Post->to_instant_article() #1 /nas/content/live/ultimasnoticia/wp-content/plugins/fb-instant-articles/class-instant-articles-post.php(951): Instant_Articles_Post->is_empty_after_transformation() #2 /nas/content/live/ultimasnoticia/wp-content/plugins/fb-instant-articles/facebook-instant-articles.php(357): Instant_Articles_Post->should_submit_post() #3 /nas/content/live/ultimasnoticia/wp-includes/class-wp-hook.php(307): inject_ia_markup_meta_tag(”) #4 /nas/content/live/ultimasnoticia/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #5 /nas/content/live/ultimasnoticia/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #6 /nas/content/live/ultimasnoticia/ in /nas/content/live/ultimasnoticia/wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 613
Generates fatal error on some posts, with this in the error log:
PHP Fatal error: Uncaught Error: Class ‘Facebook\InstantArticles\Transformer\Transformer’ not found in /home/<mysite>/public_html/wp-content/plugins/fb-instant-articles/class-instant-articles-post.php:613
WP version 6.0.3
]]>There are some posts on our website that use features not supported by Instant Articles, like sliders from Nextend SmartSlider3 plugin.
Since they’re a relevant part of the post, we chose to block them from being submitted to IA, using the instant_articles_should_submit_post:
add_filter( 'instant_articles_should_submit_post', 'custom_instant_articles_should_submit_post', 10, 2 );
function custom_instant_articles_should_submit_post($should_show, $IA_object) {
if ($should_show) {
$post = get_post($IA_object->get_the_id());
if (strpos($post->post_content, '[smartslider') !== FALSE) {
$should_show = FALSE;
}
}
return $should_show;
}
Not a fancy solution, but it should be working, as the following message appears on the post edit screen:
This post will not be available as Instant Article due to a rule created in your site.
However, the post was published to IA, regardless of the message.
Am I missing something?
]]>Hi,
We have used this plugin for Facebook instant articles. I want to add file in our content of instant article feed of Podcast custom post type.
* Example:
* <audio title=”audio title”>
* <source src=”https://foo.com/mp3″>
* </audio
Is this possible? How can we achieve this?
Please help?
]]>Begging for the update with latest WP & PHP version ??
]]>Hi,
We have used this plugin for Facebook instant article. We have face a problem That on this url:https://indian-express-develop.go-vip.net/feed/instant-articles
Feeds are not showing.
Whereas when we open this url: https://vipgo.indianexpress.com/feed/instant-articles. It shows data.
Can you please tell me? What is the issue?
Please help us as soon as possible.
Thanks
]]>Hi,
I recently got mgid ads approved on my website. I also have and Instant article for facebook setup for the same website. The problem is as soon as I inserted “after content” ads by pasting the code, it triggered the following warning in the Instant article version:
This post was transformed into an Instant Article with some warnings [Learn more | Transformer rule configuration | Toggle debug information]
No rules defined for <div class=”code-block code-block-1″> in the context of InstantArticle
This warning doesn’t show up in any other type of ads, such as “after paragraph”, “after image”, “after post”, etc.
Kindly help me out.
Thanks and regards,
Devashish Sharma
Hello
I accidentally selected Enable AMP markup generation
I canceled it then but it still adds ?amp_markup=1 at the end of the post
I don’t know how to remove it from the end of each post
please help
This plugin sent empty articles to Facebook Instant Article if new posts have been scheduled. Please help.
]]>Hi,
Just want to know whether this plugin support WordPress 5.9 & PHP 8 Support.
When trying to add an embed (copying a Youtube url from the Insert media dialog or otherwise trying to embed a Youtube video), it causes an error from a function in this plugin:
ArgumentCountError thrown
Too few arguments to function instant_articles_embed_oembed_html(), 3 passed in …/wp-includes/class-wp-hook.php on line 292 and exactly 4 expected
This breaks all Youtube embeds, probably others?
Wordpress 5.7.5. PHP7
there is serious issue with the plugin. articles not getting published in facebook. all articles says ” this article will open on your mobile website “. this problem is only with publishers who uses this official plugin. devolepers please fix this problem.
]]>Where is the Page Access Token? Is it absolutely necessary?
]]>Doing a text search on the plugin’s source code returns several occurences of “log4j”.
Is the plugin affected by https://nvd.nist.gov/vuln/detail/CVE-2021-44228
Any plan on releasing an update to fix?
]]>I chose to uninstall the “Instant Articles for WP” plugin after finding a better solution, and because this plugin hasn’t been maintained to the current WP version.
Maddeningly, after removal, this plugin adds an admin message “Please install the Instant Articles for WP plugin by Automattic version 3.3.5 or newer” to the top of every admin page, and does not provide a way to dismiss this message.
Has anyone else solved this??
]]>Facebook Instant Article for
Petso1992 is officially announced!
Hi,
We use Facebook instant articles plugin for our news website. We replaced default post author with custom taxonomy guest author. It was working fine and posting articles with our custom author before we update this plugin.
But, after update, it is taking default users as authors. We changed plugin code, tried updating few articles from WordPress dashboard and it is updating fine on Facebook articles also. But, there are more 700 articles has wrong author name and we cant update it directly from dashboard. is there any other solution to do it in plugin side? or any specific hooks available to call and update only for instant articles?
Please help
]]>I’ve added this plugin, and it is posting on my Facebook Page, but it is only posting description and not full article. I couldn’t find any setting for it. Please help. I’m using default WordPress feed, which is set to show full post in feed.
]]>Hello,
I have just started using the facebook instant article plugin for wordpress. There seems to be a constant issue of post publishing / updating a post. Everytime we post/update a post, it throws an error that reads ‘Updating failed. https://ibb.co/RpD0g7B The response is not a valid JSON response’. and then we have to leave the page.
Can someone please guide how to resolve this issue.
Also the plugin is not updated for more than a year now. Have the developers including facebook abandoned the plugin??!!
Thank You
NJ
Does this plug-in support Google GA?
What I means is, can I replace UA-XXXXXXXX-XX in this sentence ga(‘create’, ‘UA-XXXXXXXX-XX’, ‘auto’) with GA4 trackID?
When I try to update a post using the classic editor or in the settings of the post it gives me the same error this person has gotten. Pleases fix it. I know it worked on my clients site just fine.
https://www.ads-software.com/support/topic/urgent-error-when-updating-a-post/
]]>#0 /home/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/FacebookResponse.php(210): Facebook\Exceptions\FacebookResponseException::create(Object(Facebook\FacebookResponse))
#1 /home/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/FacebookResponse.php(255): Facebook\FacebookResponse->makeException()
#2 /home/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/FacebookResponse.php(82): Facebook\FacebookResponse->decodeBody()
#3 /home/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/FacebookClient.php(224): Facebook\FacebookResponse->__construct(Object(Facebook\FacebookRequest), ‘{“error”:{“mess…’, 400, Array)
#4 /home/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/Facebook.php(469): Facebook\FacebookClient->sendRequest(Object(Facebook\FacebookRequest))
#5 /home/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/Facebook.php(361): Facebook\Facebook->sendRequest(‘POST’, ‘/?id=https%3A%2…’, Array, ‘EAAEFjfkjvj8BAE…’, NULL, ‘v2.10’)
#6 /home/public_html/wp-content/plugins/fb-instant-articles/facebook-instant-articles.php(518): Facebook\Facebook->post(‘/?id=https%3A%2…’, Array, ‘EAAEFjfkjvj8BAE…’)
#7 /home/public_html/wp-includes/class-wp-hook.php(292): invalidate_scrape_on_update(36273, Object(WP_Post), Object(WP_Post))
#8 /home/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(36281, Array)
#9 /home/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#10 /home/public_html/wp-includes/post.php(4358): do_action(‘post_updated’, 36273, Object(WP_Post), Object(WP_Post))
#11 /home/public_html/wp-includes/post.php(4486): wp_insert_post(Array, false, true)
#12 /home/public_html/wp-admin/includes/post.php(419): wp_update_post(Array)
#13 /home/public_html/wp-admin/includes/ajax-actions.php(2069): edit_post()
#14 /home/public_html/wp-includes/class-wp-hook.php(292): wp_ajax_inline_save(”)
#15 /home/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
#16 /home/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#17 /home/public_html/wp-admin/admin-ajax.php(187): do_action(‘wp_ajax_inline-…’)
#18 {main}
Can someone send me the latest way to use this?? Like how to even add a production article and submit it for review??
]]>Dear developers of the instant articles plugin, this plugin doesnt work with new design of pages (2021 page update) the images has a problem.
Can anyone contact me direct and i can send the video that i fond the problem.
BlueBell Musics is a global musical album production team registered in USA and Trade mark under Govt of India
]]>In admin dashboard,
It throws this error messages:
#0 /home/eadarsha/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/FacebookResponse.php(210): Facebook\Exceptions\FacebookResponseException::create()
#1 /home/eadarsha/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/FacebookResponse.php(255): Facebook\FacebookResponse->makeException()
#2 /home/eadarsha/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/FacebookResponse.php(82): Facebook\FacebookResponse->decodeBody()
#3 /home/eadarsha/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/FacebookClient.php(224): Facebook\FacebookResponse->__construct()
#4 /home/eadarsha/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/Facebook.php(469): Facebook\FacebookClient->sendRequest()
#5 /home/eadarsha/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/Facebook.php(361): Facebook\Facebook->sendRequest()
#6 /home/eadarsha/public_html/wp-content/plugins/fb-instant-articles/facebook-instant-articles.php(518): Facebook\Facebook->post()
#7 /home/eadarsha/public_html/wp-includes/class-wp-hook.php(287): invalidate_scrape_on_update()
#8 /home/eadarsha/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#9 /home/eadarsha/public_html/wp-includes/plugin.php(478): WP_Hook->do_action()
#10 /home/eadarsha/public_html/wp-includes/post.php(4234): do_action()
#11 /home/eadarsha/public_html/wp-includes/post.php(4354): wp_insert_post()
#12 /home/eadarsha/public_html/wp-admin/includes/post.php(419): wp_update_post()
#13 /home/eadarsha/public_html/wp-admin/includes/ajax-actions.php(2070): edit_post()
#14 /home/eadarsha/public_html/wp-includes/class-wp-hook.php(287): wp_ajax_inline_save()
#15 /home/eadarsha/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#16 /home/eadarsha/public_html/wp-includes/plugin.php(478): WP_Hook->do_action()
#17 /home/eadarsha/public_html/wp-admin/admin-ajax.php(176): do_action()
#18 {main}
Any suggestion to fix this?
]]>