mozilla-magnet / magnet-metadata-service

A service that returns metadata for given URLs
Other
8 stars 10 forks source link

Objects should have a 'type' property #4

Closed wilsonpage closed 8 years ago

wilsonpage commented 8 years ago

In order to start composing tiles for specific pages/apps/content-types the service should pass back a type property. It was discussed yesterday that this should likely start with the OpenGraph types and then extend into more specific types in order to help surface actions (eg. 'Follow this person').

OpenGraph types:

We can see how a lot of our use-cases fall into one of the OG categories, but in order to surface specific functionality/visuals, we will need to 'extend' one of these types (eg. profile.twitter).

wilsonpage commented 8 years ago

On the front-end I will render everything as website type, until the metadata service starts to include a type property.

wilsonpage commented 8 years ago

More info here: https://ogp.me/

wilsonpage commented 8 years ago

Handy online OG tool: https://developers.facebook.com/tools/debug/og/object/

samgiles commented 8 years ago

Closed by #9