diff options
| author | Merov Linden <merov@lindenlab.com> | 2013-06-07 18:07:59 -0700 |
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2013-06-07 18:07:59 -0700 |
| commit | e110d87a63cfb4c50fe60930eb6cfcaa1b3d41b8 (patch) | |
| tree | a4aca66fdf1b7ed01db0024a57a2cc2da09fc11c /indra/newview/llfacebookconnect.cpp | |
| parent | 2b138990f8531df51f38e5e15309e1c92483dd05 (diff) | |
| parent | b6180c6a08fc25cbacfded7ba048c71b96292729 (diff) | |
Pull merge from viewer-fbc
Diffstat (limited to 'indra/newview/llfacebookconnect.cpp')
| -rw-r--r-- | indra/newview/llfacebookconnect.cpp | 9 |
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++; |
