View Source SEO.Facebook (SEO v0.1.11)

Facebook originally developed the OpenGraph standard, so much of social-sharing techniques are contained in SEO.OpenGraph, however there remains one Facebook-specific attribute: the :app_id.

Resources:

Summary

Functions

In order to use Facebook Insights you must add the :app_id to your page. Insights lets you view analytics for traffic to your site from Facebook. Find the app ID in your Facebook App Dashboard.

Attributes

  • item (SEO.Facebook) - Defaults to nil.
  • config (:any) - Defaults to nil.

Types

t()

@type t() :: %SEO.Facebook{app_id: String.t()}

Functions

build(attrs, default \\ nil)

@spec build(SEO.attrs(), SEO.config()) :: t() | nil

In order to use Facebook Insights you must add the :app_id to your page. Insights lets you view analytics for traffic to your site from Facebook. Find the app ID in your Facebook App Dashboard.

meta(assigns)

Attributes

  • item (SEO.Facebook) - Defaults to nil.
  • config (:any) - Defaults to nil.