Skip to content

alexrvs/yii2-facebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yii 2 Facebook API

A simple library for Yii 2 that allows interfacing with the Facebook PHP SDK.

How to install

Either run

$ php composer.phar require alexrvs/yii2-facebook

or add

"alexrvs/yii2-facebook"

to the require section of your composer.json file.

How to use

Add into config new component

 "components" => [
        'facebook' => [
            'class' => 'alexrvs\facebook\Facebook',
            'appId' => 'Your app ID',
            'secret' => 'Your secret key app',
        ]
    ]

License

The MIT License (MIT)

Copyright (c) 2015 Gary Rutland

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

About

Yii2 Facebook API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages