Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • go go
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • SRCT
  • gogo
  • Issues
  • #54

Closed
Open
Created Aug 10, 2016 by Mark Stenglein@mstengle

Add Facebook Opengraph Metadata

Summary

Facebook has this sweet metadata collector thingy that creates cards based off of websites. We expose this data through <meta> tags we set in the header. Essentially keep adding <meta> tags until our opengraph profile looks nice. This should be done in base.html in the <head>

Resources

  • http://gethead.info/#facebook--open-graph
  • details here: http://ogp.me/
  • test here: https://developers.facebook.com/tools/debug/ (You may need to open up a publicly routeable address to localhost running your branch-- see http://stackoverflow.com/a/31433008)

The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.

The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.

The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.

The 'og:description' property should be explicitly provided, even if a value can be inferred from other tags.

The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.

The 'fb:app_id' property should be explicitly provided, Specify the app ID so that stories shared to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url when open the share dialog.

Also, the Author should probably be changed to Mason :srct: instead of :jrouly:

image

Assignee
Assign to
Time tracking