alexrvs/yii2-facebook

Yii Facebook API

Installs: 94

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2017-03-20 09:20 UTC

This package is not auto-updated.

Last update: 2024-04-19 17:49:48 UTC


README

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.