Facebook api integration with yii framework

hi folks,

could you please guide me how could i integrate facebook api with my yii project.

i am trying to share facebook friends on my project and also send invitation to them.

yii project user can post his status on my project,which should be change on facebook status also.

Does it make any sence. please suggest me something how could i approach to this task.

thanks in advance…i am desperately waiting to know an answer of my query from you guys…!!