summaryrefslogtreecommitdiff
path: root/indra/newview/llfacebookconnect.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-06-07 18:07:59 -0700
committerMerov Linden <merov@lindenlab.com>2013-06-07 18:07:59 -0700
commite110d87a63cfb4c50fe60930eb6cfcaa1b3d41b8 (patch)
treea4aca66fdf1b7ed01db0024a57a2cc2da09fc11c /indra/newview/llfacebookconnect.cpp
parent2b138990f8531df51f38e5e15309e1c92483dd05 (diff)
parentb6180c6a08fc25cbacfded7ba048c71b96292729 (diff)
Pull merge from viewer-fbc
Diffstat (limited to 'indra/newview/llfacebookconnect.cpp')
-rw-r--r--indra/newview/llfacebookconnect.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llfacebookconnect.cpp b/indra/newview/llfacebookconnect.cpp
index 4c9de17e2e..1986814815 100644
--- a/indra/newview/llfacebookconnect.cpp
+++ b/indra/newview/llfacebookconnect.cpp
@@ -352,6 +352,15 @@ void LLFacebookConnect::sharePhoto(const std::string& image_url, const std::stri
LLHTTPClient::post(getFacebookConnectURL("/share/photo"), body, new LLFacebookPostResponder());
}
+void LLFacebookConnect::updateStatus(const std::string& message)
+{
+ LLSD body;
+ body["message"] = message;
+
+ // Note: we can use that route for different publish action. We should be able to use the same responder.
+ LLHTTPClient::post(getFacebookConnectURL("/share/wall"), body, new LLFacebookPostResponder());
+}
+
void LLFacebookConnect::storeContent(const LLSD& content)
{
mGeneration++;