[wp-trac] [WordPress Trac] #55771: Add oEmbed support for Google Data Studio
WordPress Trac
noreply at wordpress.org
Wed May 18 10:06:34 UTC 2022
#55771: Add oEmbed support for Google Data Studio
-------------------------+-----------------------------
Reporter: swissspidy | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Google Data Studio has an oEmbed API, although not a well documented one.
Documentation:
https://developers.google.com/datastudio/share/embed#embed_using_oembed
Example report: https://datastudio.google.com/c/u/0/reporting/1se-
9ZRSukdgQUiRqYTSjT8nFLTV0v8Uq/page/y5MR
Endpoint: https://datastudio.google.com/oembed?url=<url>
Example response:
{{{#!json
{
"type": "rich",
"version": "1.0",
"provider_name": "Google Data Studio",
"provider_url": "https:\/\/datastudio.google.com",
"html": "<iframe width=\"600\" height=\"955\"
src=\"https:\/\/datastudio.google.com\/embed\/reporting\/1se-
9ZRSukdgQUiRqYTSjT8nFLTV0v8Uq\/page\/y5MR?feature=oembed\"
frameborder=\"0\" style=\"border:0\" allowfullscreen><\/iframe>",
"width": "600",
"height": "955",
"thumbnail_url": "https:\/\/datastudio.google.com\/c\/u\/0\/reporting
\/1se-
9ZRSukdgQUiRqYTSjT8nFLTV0v8Uq\/page\/y5MR\/thumbnail?sz=w600-h920-p-nu&feature=oembed",
"thumbnail_width": "600",
"thumbnail_height": "920",
"title": "[Data Studio Community Connector Showcase] Aggregate
information across multiple sources"
}
}}}
> Is the service is popular enough for core developers to have heard of it
before? Is it “mainstream?”
I'd say so, yes. This service is quite big and has been around for many
years.
> If similar services are already supported, how does this service compare
in terms of size, features, and backing?
I don't think there's a similar service already supported, but haven't
checked closely.
> Does this service have a large following on Twitter, Facebook, or other
social media? Is its Twitter account verified?
It does not have a dedicated Twitter account.
> Is its oEmbed endpoint clearly established and properly documented?
(Sometimes, they are just a developer’s pet project that may not be
supported.)
Documentation could be better, but I think that's a known thing.
> Does the oEmbed endpoint work with WordPress’ oEmbed auto-discovery? If
not, could it be made to work with additional HTML tags or attributes
being added to the allow-list?
It does not, simply because Data Studio reports don't contain the
necessary HTML tags for auto discovery to work.
> Does the service make an effort to build relationships with developers,
such as through robust APIs?
A robust API has been available for a while, see
https://developers.google.com/datastudio/api
> How old is the service?
6 years (since 2016)
> Does it have a well-established Wikipedia article? (Seriously.)
Yes, see https://en.wikipedia.org/wiki/Google_Data_Studio
> Has anyone written a WordPress plugin that leverages the service in some
way, whether adding it as an oEmbed provider, creating a shortcode, or
leveraging other APIs of the service? Do these plugins have any noticeable
adoption or traction that would indicate usage and demand?
I could only find https://wordpress.org/plugins/embed-google-data-studio/,
which is a very new plugin and thus does not have noticeable adoption yet.
> Is the provider frequently proposed?
I think this is the first time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55771>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list