|
Revision 4221, 442 bytes
(checked in by davedash, 2 years ago)
|
sfFacebookPlugin: alpha quality, some actions that can be subclassed for minor facebook platform integration.
|
| Line | |
|---|
| 1 |
This plugin makes it easier to use the facebook platform in your symfony application |
|---|
| 2 |
|
|---|
| 3 |
add the module sfFacebook to settings.yml |
|---|
| 4 |
|
|---|
| 5 |
{{{ |
|---|
| 6 |
all: |
|---|
| 7 |
enabled_modules: [default, ..., sfFacebook] |
|---|
| 8 |
}}} |
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
Define this route: |
|---|
| 12 |
|
|---|
| 13 |
{{{ |
|---|
| 14 |
sfFacebook: |
|---|
| 15 |
url: /facebook |
|---|
| 16 |
params: { module: sfFacebook, action: index } |
|---|
| 17 |
}}} |
|---|
| 18 |
|
|---|
| 19 |
define in app.yml |
|---|
| 20 |
|
|---|
| 21 |
all: |
|---|
| 22 |
facebook: |
|---|
| 23 |
api_key: [from facebook] |
|---|
| 24 |
api_secret: [from facebook] |
|---|
| 25 |
callback_url: [your callback url] |
|---|
| 26 |
|
|---|