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
Aviator517Aviator517 

Parsing FeedElement in Visualforce

I'm trying to use the ConnectAPI to display a chatter feed in a Visualforce page, and have gotten most of it down but having issues display the authors picture. When I loop through the feed element, and access the feedelement.parent I get this output:

ConnectApi.UserSummary[buildVersion=34.0, additionalLabel=null, communityNickname=al1.358461640710149E12, companyName=Developerforce, displayName=Al Oht, firstName=Al, id=005i0000000M1YEAA0, isActive=true, isInThisCommunity=true, lastName=Ohrt, motif=ConnectApi.Motif[buildVersion=34.0, color=34BECD, largeIconUrl=/img/icon/profile64.png, mediumIconUrl=/img/icon/profile32.png, smallIconUrl=/img/icon/profile16.png, svgIconUrl=null], mySubscription=null, name=Al Oht, photo=ConnectApi.Photo[buildVersion=34.0, fullEmailPhotoUrl=https://na15.salesforce.com/img/userprofile/default_profile_200.png?fromEmail=1, largePhotoUrl=https://c.na15.content.force.com/profilephoto/005/F, photoVersionId=null, smallPhotoUrl=https://c.na15.content.force.com/profilephoto/005/T, standardEmailPhotoUrl=https://na15.salesforce.com/img/userprofile/default_profile_45.png?fromEmail=1, url=/services/data/v34.0/connect/communities/0DBi0000000GmdIGAS/chatter/users/005i0000000M1YEAA0/photo], reputation=null, title=null, type=User, url=/services/data/v34.0/connect/communities/0DBi0000000GmdIGAS/chatter/users/005i0000000M1YEAA0, userType=Internal] 

Which clearly shows data points for photo URL in the ConnectApi.Photo class, but am having issues accessing the data and displaying on the page. Has anyone encountered this issue?

If its a matter of processing further in the controller, I suppose that's fine...but would rather not if I don't have to.

Thanks!

ShashankShashank (Salesforce Developers) 
Please see if this links help:
http://salesforce.stackexchange.com/questions/56097/how-to-get-chatter-photo-fileid
http://www.thephani.com/upload-chatter-profile-pic-using-apex/