summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}