Yammer integration for comments on news pages

%3CLINGO-SUB%20id%3D%22lingo-sub-55392%22%20slang%3D%22en-US%22%3EYammer%20integration%20for%20comments%20on%20news%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-55392%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe're%20looking%20into%20using%20a%20SharePoint%20Framework%20web%20part%20that%20we%20can%20add%20to%20pages%20for%20handling%20comments%20on%20the%20page.%20The%20default%20Yammer%20web%20part%20can%20only%20connect%20to%20a%20feed%2C%20group%20or%20person%20but%20as%20we%20would%20like%20the%20comments%20to%20be%20specific%20for%20each%20page%20we%20will%20use%20the%20Yammer%20embed%20feed%20with%20an%20Open%20graph%20object%20(%3CA%20href%3D%22https%3A%2F%2Fdeveloper.yammer.com%2Fdocs%2Fembed%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.yammer.com%2Fdocs%2Fembed%3C%2FA%3E).%20One%20drawback%20with%20that%20approach%20is%20that%20each%20page%20is%20added%20as%20link%20attachment%20to%20each%20post%20and%20it%20takes%20up%20quite%20much%20space%20in%20the%20conversation.%20As%20the%20embed%20feed%20is%20in%20an%20iFrame%20we%20can't%20manipulate%20the%20css%20and%20hide%20that%20object%20in%20web%20part.%20So%20I'm%20basically%20looking%20for%20a%20solution%20for%20hiding%20that%20link%20when%20we%20are%20in%20SharePoint.%20It%20doesn't%20matter%20how%20it%20looks%20in%20Yammer.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20934px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F12174iC6A7DFDC4E6315FB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22yammer.png%22%20title%3D%22yammer.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-260096%22%20slang%3D%22en-US%22%3ERe%3A%20Yammer%20integration%20for%20comments%20on%20news%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-260096%22%20slang%3D%22en-US%22%3E%3CP%3EHI%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eyou%20can%20use%20object%20properties%20like%20this%20%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3Eyam%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3CSPAN%3Econnect%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3CSPAN%3EembedFeed%3C%2FSPAN%3E%3CSPAN%3E(%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Econtainer%3A%3C%2FSPAN%3E%3CSPAN%3E%22%23YammerComments%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Enetwork%3A%3C%2FSPAN%3E%3CSPAN%3E'xxxxxx.onmicrosoft.com'%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EfeedType%3A%3C%2FSPAN%3E%3CSPAN%3E%22open-graph%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Econfig%3A%3C%2FSPAN%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Eheader%3A%3C%2FSPAN%3E%3CSPAN%3Etrue%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Efooter%3A%3C%2FSPAN%3E%3CSPAN%3Etrue%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EobjectProperties%3A%3C%2FSPAN%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Etitle%3ApageTitle%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Edescription%3Apage%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Eurl%3ApageUrl%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D)%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73035%22%20slang%3D%22en-US%22%3ERe%3A%20Yammer%20integration%20for%20comments%20on%20news%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73035%22%20slang%3D%22en-US%22%3ESorry%2C%20no%20solution%20yet.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73034%22%20slang%3D%22en-US%22%3ERe%3A%20Yammer%20integration%20for%20comments%20on%20news%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73034%22%20slang%3D%22en-US%22%3E%3CP%3ENiclas%20-%20hope%20you%20dont%20mind%20I%20added%20a%20UserVoice%20improvement%20request%20refering%20to%20your%20post%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fyammer.uservoice.com%2Fforums%2F399627-yammer%2Fsuggestions%2F19399138-improve-the-comments-box-when-integrated-on-news-p%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fyammer.uservoice.com%2Fforums%2F399627-yammer%2Fsuggestions%2F19399138-improve-the-comments-box-when-integrated-on-news-p%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-73026%22%20slang%3D%22en-US%22%3ERe%3A%20Yammer%20integration%20for%20comments%20on%20news%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-73026%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESame%20issue%20here%2C%20anyone%20found%20a%20way%20to%20resolve%20it%20yet%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-56274%22%20slang%3D%22en-US%22%3ERe%3A%20Yammer%20integration%20for%20comments%20on%20news%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-56274%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%20I%20have%20done%20that.%20Had%20hoped%20that%20%3CSPAN%20class%3D%22cm-property%22%3EshowOpenGraphPreview%20would%20have%20solved%20it%20but%20it%20only%20shows%2Fhides%20the%20link%20before%20commenting.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22cm-property%22%3E%2FNiclas%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-56219%22%20slang%3D%22en-US%22%3ERe%3A%20Yammer%20integration%20for%20comments%20on%20news%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-56219%22%20slang%3D%22en-US%22%3EI%20assume%20you've%20already%20looked%20at%20this%3A%20%3CA%20href%3D%22https%3A%2F%2Fdeveloper.yammer.com%2Fdocs%2Fcommenting%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.yammer.com%2Fdocs%2Fcommenting%3C%2FA%3Eand%20it%20didn't%20work.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-55397%22%20slang%3D%22en-US%22%3ERe%3A%20Yammer%20integration%20for%20comments%20on%20news%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-55397%22%20slang%3D%22en-US%22%3E%3CP%3EI%20think%20it's%20not%20possible%26nbsp%3Bto%20hide%20this%20link%20preview%20from%20yammer.%20%3CA%20href%3D%22http%3A%2F%2Fwww.modernworkplacesolutions.rocks%2Four-yammer-statistics-and-how-to-use-it-for-comments-on-intranet-pages%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ETried%20it%20for%20some%20time%3C%2FA%3E%2C%20but%20didn't%20get%20lucky%20either.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi 

 

We're looking into using a SharePoint Framework web part that we can add to pages for handling comments on the page. The default Yammer web part can only connect to a feed, group or person but as we would like the comments to be specific for each page we will use the Yammer embed feed with an Open graph object (https://developer.yammer.com/docs/embed). One drawback with that approach is that each page is added as link attachment to each post and it takes up quite much space in the conversation. As the embed feed is in an iFrame we can't manipulate the css and hide that object in web part. So I'm basically looking for a solution for hiding that link when we are in SharePoint. It doesn't matter how it looks in Yammer. 

 

yammer.png

7 Replies
Highlighted

I think it's not possible to hide this link preview from yammer. Tried it for some time, but didn't get lucky either.

Highlighted
I assume you've already looked at this: https://developer.yammer.com/docs/commenting and it didn't work.
Highlighted

Hi

 

Yes I have done that. Had hoped that showOpenGraphPreview would have solved it but it only shows/hides the link before commenting.

 

/Niclas

Highlighted

Hi

 

Same issue here, anyone found a way to resolve it yet ?

 

 

Cheers

Highlighted

Niclas - hope you dont mind I added a UserVoice improvement request refering to your post 

https://yammer.uservoice.com/forums/399627-yammer/suggestions/19399138-improve-the-comments-box-when...

Highlighted
Sorry, no solution yet.
Highlighted

HI

 

you can use object properties like this : 

 

yam.connect.embedFeed({
container: "#YammerComments",
network:'xxxxxx.onmicrosoft.com',
feedType: "open-graph",
config: {
header: true,
footer: true
},
objectProperties: {
title:pageTitle,
description:page,
url:pageUrl,
}
});