+ Start a Discussion
SandeepKChopraSandeepKChopra 

salesforce contact social linking - linkedin profile image not visible

I am trying to display the linkedin profile image of a contact (linkedin authentication already done) on a visualforce page using PhotoUrl field of contact mentioned here (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_contact.htm).

While on the salesforce Contact detail page the image is getting displayed but its not showing up on my custom VF page. If I link facebook or Twitter, those profile images are showing up fine in my VF page.

Even though the linkedin module is labelled Beta, I just wanted to check if anybody else is also getting this issue or if there is something that I am not doing correctly.

The sample page is

<apex:page standardController="Contact" recordSetVar="contacts">
    <apex:pageBlock >
        <apex:pageBlockTable value="{!contacts}" var="ct">
            <apex:column headerValue="Name">
                {!ct.FirstName} {!ct.LastName}
            </apex:column>
            <apex:column headerValue="Photo">
                <img src="{!ct.PhotoUrl}" />
            </apex:column>        
        </apex:pageBlockTable>
    </apex:pageBlock>
</apex:page>
Andy BoettcherAndy Boettcher
I don't see anything you're doing incorrectly.  IMHO, LinkedIn integration is not predictable on the best of days.  =(