{"id":20678691,"url":"https://github.com/ayesh/wordpress-oembed-plus","last_synced_at":"2025-04-19T22:50:02.923Z","repository":{"id":36994997,"uuid":"285947644","full_name":"Ayesh/WordPress-oEmbed-Plus","owner":"Ayesh","description":"WordPress plugin to support Facebook and Instagram oEmbed embeds","archived":false,"fork":false,"pushed_at":"2023-08-12T10:19:16.000Z","size":25,"stargazers_count":20,"open_issues_count":11,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-19T19:55:53.374Z","etag":null,"topics":["oembed","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://php.watch/articles/wordpress-facebook-instagram-oembed","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ayesh.png","metadata":{"files":{"readme":"readme.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-08T00:56:28.000Z","updated_at":"2024-06-21T08:31:03.000Z","dependencies_parsed_at":"2023-01-17T12:31:44.522Z","dependency_job_id":null,"html_url":"https://github.com/Ayesh/WordPress-oEmbed-Plus","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayesh%2FWordPress-oEmbed-Plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayesh%2FWordPress-oEmbed-Plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayesh%2FWordPress-oEmbed-Plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayesh%2FWordPress-oEmbed-Plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ayesh","download_url":"https://codeload.github.com/Ayesh/WordPress-oEmbed-Plus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249824056,"owners_count":21330254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["oembed","wordpress","wordpress-plugin"],"created_at":"2024-11-16T21:21:49.569Z","updated_at":"2025-04-19T22:50:02.891Z","avatar_url":"https://github.com/Ayesh.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"=== oEmbed Plus ===\nContributors: ayeshrajans\nTags: embed, facebook, instagram, oembed\nRequires at least: 4.9\nTested up to: 5.6\nStable tag: 1.7\nRequires PHP: 7.1\nLicense: GPLv2 or later\nLicense URI: https://www.gnu.org/licenses/gpl-2.0.html\n\nAdds support for embedding Facebook and Instagram posts in Block Editor (Gutenberg) and Classic Editor.\n\n== Description ==\n\nAdds support for embedding Facebook and Instagram posts in Block Editor (Gutenberg) and Classic Editor. This feature was removed in WordPress core due to deprecation of legacy APIs WordPress core used.\n\nPrior to WordPress 5.5.1, WordPress had support to embed Instagram and Facebook photos, videos, notes, quizes, etc in posts created with Block Editor and Classic Editor. However, Facebook removed this legacy API in October 2020, and this plugin implements the new APIs to bring back support for Facebook and Instagram content embedding.\n\nNote that you will need to register a Facebook developer account and create an app to get API credentials that this plugin uses. There is no coding necessary, but an API key needs to be created and set for the plugin.\n\nDetailed setup instructions are available in [oEmbed Plus guide at PHP.Watch](https://php.watch/articles/wordpress-facebook-instagram-oembed)\n\n== Frequently Asked Questions ==\n\n= WordPress already supports this feature in core =\n\nYes, but only in versions prior to 5.5.1, and it used a legacy API that stopped working after October 24, 2020.\nSee [#50861](https://core.trac.wordpress.org/ticket/50861) for more information.\n\n= This version requires PHP 7.1 =\n\nYes, this plugin requires PHP 7.1 or later. That is by design.\n\n= Can you add support for service X? =\n\nProbably not. This plugin is intended to bring back functionality the WordPress core eventually drops.\n\n= How do I set the API ID and secret? =\n\nGo to Settings -\u003e Writing, and you will see a section to enter Facebook App ID and Secret.\n\nAlternately, you can set the Facebook App ID and secret in the `wp-config.php` file. If they are set in the `wp-config.php` file, the settings form in Settings -\u003e Writing section will be disabled.\nTo enter the Facebook App ID and secret, update the `wp-config.php` file in root of your WordPress installation, and append the following lines:\n\n`\ndefine('OEMBED_PLUS_FACEBOOK_APP_ID', '\u003cApp ID Here\u003e');\ndefine('OEMBED_PLUS_FACEBOOK_SECRET', '\u003cSecret Here\u003e');\n`\n\n= Optionally hide the admin UI=\n\nIt is possible to completely hide the administration form added by this plugin in Admin → Settings → Writing page. This can be helpful if you set the configuration values in the `wp-config.php` file, and keep the administration UI minimal.\n\nTo hide the administration form, update the `wp-config.php` file with an extra line:\n\n`\ndefine('OEMBED_PLUS_HIDE_ADMIN_UI', true);\n`\n\n== Screenshots ==\n\n1. Plugin configuration (Admin → Settings → Writing)\n2. Registering a new Facebook App\n3. Example embedded content\n\n== Changelog ==\n\n**1.0**\n\n - Initial release.\n\n**1.1**\n\n - Fixes a bug in Instagram oEmbed URL endpoint check.\n - Minor improvements in the Facebook App ID field validations.\n\n**1.2**\n\n - Add `https://www.facebook.com/watch/?v=\u003cID\u003e` URL pattern to supported video URL patterns.\n - Allow setting Facebook App ID and secret with a [constant in `wp-config.php` file](https://php.watch/articles/wordpress-facebook-instagram-oembed#wp-config).\n\n**1.4**\n\n - Add an option to completely hide the admin UI by setting `OEMBED_PLUS_HIDE_ADMIN_UI` PHP constant in `wp-config.php` file.\n - Code styling clean-up.\n - The minimum required PHP version is changed to 7.1 from PHP 7.3. It's strongly suggested to use more recent and supported PHP versions nonetheless.\n\n**1.5**\n\n - Updates to the readme file to make it more clear that this plugin supports both Classic Editor and Block Editor.\n \n**1.6**\n\n - Updated the plugin minimum WordPress core requirement to 4.9, along with relevant compatibility changes. The plugin works on all WordPress versions from 4.9 through 5.6 and up.\n\n**1.7**\n\n - Maintenance of this plugin was on a hiatus, but with this version, it is back to active development.\n - Fixes a few bugs that caused failed embeds.\n - Updated instructions to match changes in Facebook Developer program.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayesh%2Fwordpress-oembed-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayesh%2Fwordpress-oembed-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayesh%2Fwordpress-oembed-plus/lists"}