Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/00f100/opauth-facebook-model
Arquivos Model para o Facebook via Opauth - CakePHP Facebook API Plugin
https://github.com/00f100/opauth-facebook-model
Last synced: about 8 hours ago
JSON representation
Arquivos Model para o Facebook via Opauth - CakePHP Facebook API Plugin
- Host: GitHub
- URL: https://github.com/00f100/opauth-facebook-model
- Owner: 00F100
- Created: 2015-02-20T12:11:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-22T14:38:54.000Z (over 8 years ago)
- Last Synced: 2024-04-27T03:42:09.885Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[PORTUGUÊS]
## Facebook Model para Opauth - Cakephp
Após autenticar, faça solicitações de informações sobre usuários/páginas/grupos do Facebook.
## Dependências
> Para autenticar use: Opauth -> https://github.com/uzyn/cakephp-opauth
### Instalação
- Crie o diretório: app/Plugin/FacebookApi
- Clone o projeto (cd /path/to/app/Plugin/FacebookApi && git clone https://github.com/00F100/opauth-facebook-model.git ./)
- Inicie o plugin CakePlugin::load( $plugin, array('bootstrap' => true) );
- Configure o token do usuário na configuração: Configure::write('Opauth.Strategy.Facebook.token', '[TOKEN USUARIO]');
- importe o Model do Facebook para seu controller utilizando:> "$uses = array('FacebookApi.FacebookApiUsuario')"
- Faça suas pesquisas utilizando:
> $this->FacebookApiUsuario->getInfo()
--------------------------------------
[ENGLISH]
## Facebook Model to Opauth - Cakephp
After logging in, make requests for information about users/pages/groups Facebook.
## Dependencies
> To authenticate use: Opauth -> https://github.com/uzyn/cakephp-opauth
### Installation
- Create the directory: app/Plugin/FacebookApi
- Clone the project: (cd /path/to/app/Plugin/FacebookApi && git clone https://github.com/00F100/opauth-facebook-model.git ./)
- Start plugin CakePlugin::load( $plugin, array('bootstrap' => true) );
- Configure the user token in the configuration: Configure::write('Opauth.Strategy.Facebook.token', '[TOKEN USUARIO]');
- Import the Model of Facebook for your controller using:> "$uses = array('FacebookApi.FacebookApiUsuario')"
- Do your search using:
> $this->FacebookApiUsuario->getInfo()