Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

WordPress CLI commands to audit Facebook and Instagram oembeds in post content.

Notifications You must be signed in to change notification settings

alleyinteractive/fb-ig-embeds-audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook/Instagram Embeds Audit Plugin

Contributors: alleyinteractive
Tags: oembed, facebook, instagram, cli
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

CLI commands to audit Facebook and Instagram oembeds in post content.

Description

Facebook is dropping support for unauthenticated Facebook and Instagram oEmbeds on October 24th.

oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly. Source: oembed.com

This means that beginning October 24th, the Facebook and Instagram embeds on all WordPress sites will display a link to the content, rather than a rendered embed/widget.

More WordPress Community Info:

Installation

  1. Upload /fb-ig-embeds-audit/ folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

Usage

Run the command from any WP CLI command line,

Run the audit on all content

$ wp fb-ig-embeds-audit list

Target a specific post by id

$ wp fb-ig-embeds-audit list --post_id=123

Modify the output format

$ wp fb-ig-embeds-audit list --format=json

Changelog

1.0.1

  • Fix PHPCS warnings and errors on the bulk task trait.

1.0.0

  • Initial public release.

About

WordPress CLI commands to audit Facebook and Instagram oembeds in post content.

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages