Hi. I need help how to pull a picture from a sharepoint table into a publication. We want to automate congratulating employees on their birthday, examples of screenshots below.
and published like this
Hi @Expiscornovus and @Dima372 ,
thank you for all your insights on this. I succeeded in posting to Yammer via your solution in an automated fashion which is GREAT✅.
However, I have one question about it related to images again and unfortunately no one has shared a screen shot of the actual outcomes so far. Is it possible to display the images as if they were really attached to the Yammer post with a proper image?
So far all I succeeded in was attaching the images only as an og object with a little icon (Images OG_Example1 and 2) but not a proper thumbnail or the actual image experience I would like to achieve.
Is that even feasible by any means?
Hi @Dima372,
Just to double check, you want to show the thumbnail just like posting it manually, correct?
If so, it looks like the Post message action posts the link just as a hyperlink and not an og_image or og_url object.
You could workaround that by using the Yammer REST API (https://developer.yammer.com/docs/messages-json-post) with an HTTP action.
That does require you to register an App in Yammer and make sure you collect an access token:
https://developer.yammer.com/docs/app-registration
When that is setup you could use an HTTP action like below (in your case it would be the og_image object)
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional