summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-12-23 19:37:50 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-24 06:37:50 -0800
commit9a2f836b1a8dc70772a85bb91b171889157b3425 (patch)
treeb1543eb064ea77d353b01e73044032311d3f17fd /qt-ui/preferences.cpp
parenta7e148c0a8e121aa677e52827d5d4cfbdd4ebea7 (diff)
downloadsubsurface-9a2f836b1a8dc70772a85bb91b171889157b3425.tar.gz
Ask for facebook permission to post to a user newsfeed.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.cpp')
-rw-r--r--qt-ui/preferences.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp
index 70fbe126e..11264b2b4 100644
--- a/qt-ui/preferences.cpp
+++ b/qt-ui/preferences.cpp
@@ -14,7 +14,8 @@ static QString facebookConnectUrl =
"https://www.facebook.com/dialog/oauth?"
"client_id=427722490709000"
"&redirect_uri=http://www.facebook.com/connect/login_success.html"
- "&response_type=token";
+ "&response_type=token"
+ "&scope=publish_actions";
PreferencesDialog *PreferencesDialog::instance()
{