Home User profile
dat
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
dat
tagDiv Member

This doesn’t work because, as I was saying, the access token is hardcoded in the td_video_support.php file.

Please check lines 157-195 of wp-content/plugins/td-composer/legacy/common/wp_booster/td_video_support.php (version Newsmag 5.4.3.1) to understand how the video embed code is being generated. Access token is hardcoded in line 14.

When a post is loaded, the theme performs an HTTP request that looks like this:

https://graph.facebook.com/oembed_video?url=https://www.facebook.com/video.php?v=621486963428730&access_token=281071126312386|83f03eb7e4a2707cd68aada9b3f98c79

The access_token parameter is taken from td_video_support.php line 14. The result is “API access deactivated. To reactivate, go to the My Apps page to unarchive it.” so the video is not displayed.

That access token was presumably created by a Newsmag developer and was later deactivated or removed. The access token must be reenabled by the developer, or a new access token should be created and pushed as an update, or an option for the theme user to provide his own access token should be added (like with YouTube, where you can provide your own API access token).

Viewing 1 post (of 1 total)