EUR USD
Extensions for Magento eCommerce system. Programmed success.
More
Filters
Filter
Sorting
Saved Extensions

Setting up Facebook Open Graph for simple invitations

1. Use the menu on the left to go to the "Open Graph" page - "Getting Started". Enter "Share I" as "action", and "Invitation" as "object" and click "Get Started".

Magento and Facebook Open Graph: Introduction.

2. On the next page (Apps > Your APP Name > Open Graph > Action Type: Share I) click "Save Changes and Next". We'll come back here later.

3. On the next page (Apps > Your APP Name > Open Graph > Object Type: Invitation) click "Save Changes and Next". We'll come back here later.

4. On the next page (Apps > Your APP Name > Open Graph > Aggregation: Invitation) select "Share I" in the "Data to Display" field and click "Save Changes and Next". We'll come back here later.

5. On the "Open Graph Dashboard" page click the "Create New Object Type" button.

5.1. Enter "Link" in the dialog window and click "Submit".

6. On the "Open Graph Dashboard" page, click on the previoiusly created object "Invitation" in the "Object Types" area and go to the edit page. Please see the screenshot below.

Magento and Facebook Open Graph: Introduction.

6.1. Go to the "Define Action Type" tab and click "Add Custom Property" in the "Properties" area. Enter "Website" value as the "Name", select "Link" as the "Type", and select "Is Required" as the "Setting".

6.2. Click "Add Custom Property" again. Enter "Store URL" value as the "Name", select "Invitation" as the "Type", and select "Hide from News Feed" as the "Setting".

6.3. Click "Advanced" link. Start entering "sh" and select the "share i" option from the drop-downn list.

6.4. Save changes by clicking the "Save Changes" button. Please see the screenshot below.

Magento and Facebook Open Graph: Introduction.

7. On the "Open Graph Dashboard" page, click on the previoiusly created action "Share I" in the "Action Types" area and go to the edit page. Please see the screenshot below.

Magento and Facebook Open Graph: Introduction.

7.1. Go to the "Define Action Type" tab and click "Add Custom Property" in the "Properties" area. Enter "site_name" value as the "Name", select "String" as the "Type", and select "Is Required" as the "Setting".

7.2. Select the "Tags" check box.

8. Go to the " Configure Sentences" tab and click the "Edit Tenses" button. Select the "only the past tense" value in the drop-down list in the dialog window and specify the following values:

Past Tense: "shared"
Plural Past Tense: "shared"
Present Tense: "is sharing"
Plural Present Tense: "are sharing"
Imperative Tense: "share"

Click "Submit".

Magento and Facebook Open Graph: Introduction.

8.1. Go to the "Configure Sentences" tab:

Find the "One to One" field, click "edit" and enter the following sentence: "YourName shared an invitation to join invitation.title using Spread The Word." Click "Done".

Find the "One to Two" field, click "edit" and enter the following sentence: "YourName shared two invitations to join invitation1.title and invitation2.title using Spread The Word." Click "Done".

Find the "One to Many" field, click "edit" and enter the following sentence: "YourName shared an invitation to join invitation1.title and 5 other invitations using Spread The Word." Click "Done".

Find the"Two to One" field, click "edit" and enter the following sentence: "YourName and Mary shared an invitation to join invitation.title using Spread The Word." Click "Done".

Find the "Many to One" field, click "edit" and enter the following sentence: "YourName and 3 others shared an invitation to joininvitation.title using Spread The Word." Click "Done".

Please see the screenshot below.

Magento and Facebook Open Graph: Introduction.

Please save changes by clicking "Save Changes" (this is necessary).

9. Go to the "Configure Story Attachment" tab and select "Item" as "Attachment Layout". Enter a "Caption" for each of 4 fields respectively:

Join your friends at {site_name}
and discover unique Magento Extensions! (e.g.)
{publish_time}
Website: {invitation.website.title}

Please see the screenshot above. Save changes by clicking "Save Changes".

10. Go to the "Open Graph Dashboard" page, click on "Share I" in the "Aggregations" area and go to the edit page. Please see the screenshot below.

Magento and Facebook Open Graph: Introduction.

10.1. Select "Number" as the "Layout Style".

10.2. Select "Most Recent" in the "Item to Show" drop-down list.

10.3. Enter "Add In Mage Invitation Stats" in the "Aggregation Title" field (please replace Add In Mage with the name of your store).

10.4. In the "Number" field enter "count | pluralize("0 invitations", "1 invitation", "%d invitations")" and enter "shared" into the field to the right.

10.5. Enter "The latest invitation was shared {publish_time | date}." in the "Caption" field. Please see the screenshot below.

10.6. Click "Save Changes".

Magento and Facebook Open Graph: Introduction.

11. Go to "Open Graph Dashboard" page and click on "Create New Aggregation" in the "Aggregations" area. Please see the screenshot below.

Magento and Facebook Open Graph: Introduction.

11.1. Select "Invitation" in the "Data to Display" drop-down list.

11.2. Select "Share I" in the "Action Type" drop-down list.

11.3. Select "Table" as "Layout Style".

11.4. Select "Favorite" in the "Sort By" drop-down list.

11.5. Enter "Invitation Sharing Activity" in the "Aggregation Title" field.

11.6. Enter the column name "Date" for the "Columns" field and enter the following contents for it: "{publish_time | date("fb_absolute")}".

11.7. Click "Add Column". Enter "Shared Invitations" column name and fill it with "{count}".

11.8. Click on the "Advanced" link and leave the values below in the "Group By" option: "invitation" and "invitation.store_url.store_url".

11.9. Save changes by clicking "Save Changes".

Magento and Facebook Open Graph: Introduction.