Categories
YII

Yii Tutorial :: How to Add Facebook Open Graph Tags ?

This Blog post is about Adding Facebook Open Graph Tags to the web app in Yii, This is really simple Task, Using This Tags We can tell Facebook What Content Should share like Image, Title, Description .. etc.

Syntax

How to Use

You can place Above lines in views Files or in you Controller File

Reference Page : http://developers.facebook.com/docs/opengraphprotocol/

and

http://www.yiiframework.com/doc/api/1.1/CClientScript

By Arjun

I am Arjun from Hyderabad (India). I have been working as a software engineer from the last 7+ years, and it is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.

Leave a Reply

Your email address will not be published. Required fields are marked *