Facebook Featured Video not load (solution)

Posted in: Newspaper
Post count: 18

Hello, I have had problems with facebook videos for quite some time, but I finally found the problem.

When you put a facebook video in “Featured Video”, sometimes it wouldn’t load. This problem used to go away on its own, but then it would reappear again.

The problem is that “Newspaper Theme” does not use your own Facebook App ID (the one you configure in the oEmbed Plus plugin for example). It turns out that it uses one in common among all Newspaper installations.
Therefore, if that App had any inconvenience, as at this very moment, all the Newspaper installations will fail.
Next I show you a query result to the Facebook API with the credentials that Newspaper uses.

Error message

The problem is that the credentials are hardcoded in the TD Composer plugin code, in the file: /wp-content/plugins/td-composer/legacy/common/wp_booster/td_video_support.php
In the following image I show the code:

Plugin Code

I solved it by editing the plugin directly on the server and replacing the credentials with those of my own Facebook App.

But the best solution is to be able to add these own credentials directly from the Newspaper configuration.

Please let me know if you need any more information to definitively solve this problem.

And I hope it will be of help (at least temporarily) for users who have this same problem.

Greetings.

  • This topic was modified 5 years by Federico.
  • This topic was modified 5 years by Federico.
  • This topic was modified 5 years by Federico.
Post count: 18

Come on guys, I debugged an error that you have in your plugin and shared the possible solution, and I haven’t got an official answer yet.

Post count: 21065

Hello!

Please send an email at contact@tagdiv.com and provide wp-admin and Cpanel access, so we can investigate this issue and this solution which you provided. Also paste a link to this topic so we can easily identify you.
We will test it too and we will take in consideration your query.

Thank you!

Post count: 2

Wondering if this feature will be added soon, facebook videos are not working anymore on my websites, not even after several version updates of Newspaper theme.

Post count: 21065

Hello!

If this will be considered as a new feature in the next updates, then we will try our best to bring you a best solution in the future.

Thank you!

Post count: 57

Any news on this? Was “your best” good enough to bring a best solution?

Facebook video is still broken, which is okay for new posts if theme authors have decided so. But it’s unacceptable for previous posts. Should I go and change hundreds of posts manually?

Post count: 21065

Hello!

Unfortunately, the decision is not to implement this function.

Thank you for understanding!

Post count: 57

Hi Bettina,
what’s the workaround for the existing posts that were created with previous versions of the theme and are not working after update?

Post count: 18

Dear, it is a lack of consideration that you have rejected applying this change.
The problem keeps happening. It forces me to edit the Newspapper core files to change the facebook id. This change is stepped on when a theme update is applied. I currently have more than 10 clients, for which I must manually configure this change.
I ask you to review your decision, because the solution is simple to apply.

Post count: 18

Bettina, please, I need you to reconsider this request.

We cannot all use the same Client Token Access to consume Facebook content.
At this time, the Facebook APP that you use for this functionality must be blocked or limited.

To fix this, I need to edit internal plugin files. These changes are reverted when I update the plugin.

You have to add a field in the configuration panel that allows us to place our own Client Token Access.

Post count: 21065

Hello!

I’m sorry, but I’m not taking the decisions, or the support team. You can build a child theme and implement this, so it won’t get overwritten by the updates.

Thank you for understanding!

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.