locked
Windows.ApplicationModel.DataTransfer. How share image and link in same post ? RRS feed

  • Question

  • How share image and link in same post  ?
    Saturday, February 7, 2015 12:39 AM

Answers

  • You cannot control how Facebook (or any other target) interprets the shared data. You should provide the data in as many formats as make sense and then let the target interpret it as it will.

    Tuesday, February 10, 2015 5:41 PM
    Moderator

All replies

  • You can share a link and share an image (as an image or as a file), but logically speaking all of the data types shared are considered different views of the same thing. The share target will pull out the best format for its target and leave the rest. The share source cannot tell the target how to interpret the data.

    See Choosing data formats and file types.

    If you want to combine multiple data types in one view then you can combine them in an HTML page. See How to share HTML

    Saturday, February 7, 2015 1:06 AM
    Moderator
  • Thanks, but I want to share it  in facebook. If I use share HTML i dont have option facebook. 
    Saturday, February 7, 2015 10:15 AM
  • You cannot control how Facebook (or any other target) interprets the shared data. You should provide the data in as many formats as make sense and then let the target interpret it as it will.

    Tuesday, February 10, 2015 5:41 PM
    Moderator