function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
admintrmpadmintrmp 

Whitelisting URLs in Phonegap / Android

Has anyone got an example of how we can whitelist a Salesforce URL to get a profile photo for Chatter? Our Chatter images are currently blank and I have a feeling that Phonegap needs to whitelist the URL.

 

We tried to whitelist a particular profile photo URL for test purposes but the photo didn't appear at all. We want to be able to create an access right to all profile photos.

 

Here is the post on StackOverflow, of which we attempted to follow but failed:

http://stackoverflow.com/questions/9174856/access-external-urlgoogle-com-from-phonegapandroid/9187479#9187479

Best Answer chosen by Admin (Salesforce Developers) 

All Answers

admintrmpadmintrmp

Ok, our developers have had a look at the issue and it may not be related to whitelisting as other images from the web are working fine.

 

What do we need to do in order to show Chatter profile photos?

Tom GersicTom Gersic
This was selected as the best answer
admintrmpadmintrmp

Sorry for not updating this thread. We actually discovered how to fix this first thing this morning, which is great (and it was the access token!).

 

I will mark your post as the solution.

 

Thanks