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
AIME MorphateAIME Morphate 

Access chatter through iframe in visualforce

I'm trying to access chatter in visualforce using iframe in customer portal.
Reason why I'm not using the default chatter tab is because I'm adding some custom styling in visualforce and I also don't want to see the sidebar and header.
The iframe works under force.com but when trying to access through community it throws an error page

<apex:page sidebar="false" showHeader="false" standardStylesheets="true" doctype="html-5.0">
    
        <apex:pageBlock >
           <apex:iframe id="iframe" src="/_ui/core/chatter/ui/ChatterPage?isdtp=vw" 
                        scrolling="true" width="100%" height="500px"/> 
        </apex:pageBlock>
        
</apex:page>

Can somebody help me understand why it does not display in community?
Best Answer chosen by AIME Morphate
AIME MorphateAIME Morphate
Got it working.
Had to use the whole relative community URL.  was using the force.com URL

Thanks heaps,
everyone for input

 

All Answers

Ramesh KosalairamanRamesh Kosalairaman
Hi
Instead of using Ifrmae you can use chatter component in visualforce pages 

https://developer.salesforce.com/releases/release/Winter11/Chatter+Components+for+Visualforce
Sagar PareekSagar Pareek
Use 
<chatter:feedWithFollowers>
AIME MorphateAIME Morphate
Got it working.
Had to use the whole relative community URL.  was using the force.com URL

Thanks heaps,
everyone for input

 
This was selected as the best answer
William WyattWilliam Wyatt
@AIME Can you elaborate I am having a similar issue with my chatter iframe