Fix Facebook scopes for cross-posting

Facebook deprecated their v1.0 API and thus the old ones no longer work (for new authorizations).

closes #6019 [ci skip]
This commit is contained in:
Jason Robinson 2015-05-31 21:52:57 +03:00 committed by Dennis Schubert
parent b8a6af2742
commit d2e0b3ceae
2 changed files with 3 additions and 2 deletions

View file

@ -23,6 +23,7 @@
* Replace vendored assets for facebox by gem [#6005](https://github.com/diaspora/diaspora/pull/6005)
* Improve styling of horizontal ruler in posts [#6016](https://github.com/diaspora/diaspora/pull/6016)
* Increase post titles length to 50 and use configured pod name as title in the atom feed [#6020](https://github.com/diaspora/diaspora/pull/6020)
* Remove deprecated Facebook permissions [#6019](https://github.com/diaspora/diaspora/pull/6019)
## Bug fixes
* Disable auto follow back on aspect deletion [#5846](https://github.com/diaspora/diaspora/pull/5846)

View file

@ -17,8 +17,8 @@ Rails.application.config.middleware.use OmniAuth::Builder do
if AppConfig.services.facebook.enable?
provider :facebook, AppConfig.services.facebook.app_id, AppConfig.services.facebook.secret, {
display: 'popup',
scope: 'publish_actions,publish_stream,offline_access',
display: "popup",
scope: "public_profile,publish_actions",
client_options: {
ssl: {
ca_file: AppConfig.environment.certificate_authorities