简体   繁体   中英

i want to share image from my android app on facebook, but not upload this image

not upload image to facebook , instagram ect. hello friends, why my image not upload anywhere app?

share image to facebook and ect

this is my code

i don't think it can be done that way.

Facebook (or Instagram) would want to have an handle on the image, either by uploading the pic (which seems like you don't want to do) or by pointing to a URL.

To follow through the second option you could either turn the device into an HTTP server (but you'll have issues with battery life or background processes, especially with Android Nougat) or uploading it to a third party hoster (like Google Drive) and then forward that link to Facebook.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM