• Martin Tremblay - Admin
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,

Actually in an iphone app I'm using REST and SOAP Api to download data from salesforce. When I detect a text field with html I get the images url and I save it in a local variable to be downloaded after my records are saved. I found two kinds of image url:
  • Image that I add using url. I get these images correctly because I'm using public image out of salesforce.
  • Image that I upload when I create the content of my filed. These images are saved into salesforce and I can acces it using the servlet: /servlet/rtaImage?eid=[Id SObject]]&feoid=[Id field]&refid=[id file(image)]. When I try to download these image I don't have session in my webView and I get an error, the image don't download. I have oauth token that I use to get anothers files. I use the oauth toke as parameter in url and work with these others files. Someone know how can I use the oauth token to get these images?

I hope to be clear with the explanation of my problem.

Thanks.