android - Upload image to the wall with a link using Facebook SDK -
possible upload image user wall or page or group open external url when user click on it?
found exmaple in facebook sdk tutorials doesn't take url
private void postphoto() { bitmap image = bitmapfactory.decoderesource(this.getresources(), r.drawable.icon); if (canpresentsharedialogwithphotos) { facebookdialog sharedialog = createsharedialogbuilderforphoto(image).build(); uihelper.trackpendingdialogcall(sharedialog.present()); } else if (haspublishpermission()) { request request = request.newuploadphotorequest(session.getactivesession(), image, new request.callback() { @override public void oncompleted(response response) { showpublishresult(getstring(r.string.photo_post), response.getgraphobject(), response.geterror()); } }); request.executeasync(); } else { pendingaction = pendingaction.post_photo; } }
is there suggestions
thanks
it's not possible. clicking photo on facebook open photo's view. can include url in photo's description that's it. facebook parse fine , wrap in anchor tag.
Comments
Post a Comment