summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2013-06-05 01:03:33 +0100
committerCho <cho@lindenlab.com>2013-06-05 01:03:33 +0100
commitf3a72799b01ad2449ae24e86169b994c696c1b4a (patch)
tree94a21a63e92be07351e53f7c4a0efb22167c29aa /indra/newview
parent6bf2dad1cc8df2769a0833786bc16eea96649d6d (diff)
added call to sharePhoto() with placeholder image for ACME-467
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llpanelsnapshotfacebook.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpanelsnapshotfacebook.cpp b/indra/newview/llpanelsnapshotfacebook.cpp
index 50c5b62fe7..200c64f16b 100755
--- a/indra/newview/llpanelsnapshotfacebook.cpp
+++ b/indra/newview/llpanelsnapshotfacebook.cpp
@@ -38,6 +38,8 @@
#include "llsidetraypanelcontainer.h"
#include "llwebprofile.h"
+#include "llfacebookconnect.h"
+
/**
* Posts a snapshot to the resident Facebook account.
*/
@@ -98,4 +100,7 @@ void LLPanelSnapshotFacebook::onSend()
LLWebProfile::uploadImage(LLFloaterSnapshot::getImageData(), caption, add_location);
LLFloaterSnapshot::postSave();
+
+ // test with a placeholder image, until we can figure out a way to grab the uploaded image url
+ LLFacebookConnect::instance().sharePhoto("http://fc02.deviantart.net/fs43/i/2009/125/a/9/Future_of_Frog_by_axcho.jpg", caption);
}