Receiving unread or new posts from forums with slack - slack

I am a beginner in Slack.
I want to make a slack-bot that fetches unread or new posts from forums.
For examples,
If there are any posts I have not read in specific forums, Slack-bot will let me know.
So what slack api should I use? Or what documentation should I read?

The simplest way to do this is to add an RSS Feed integration to your Slack workspace, and then configure it to subscribe to the Python Forum you linked in your comment.
After adding the RSS feed integration to Slack, click the RSS Syndication link in the Python Forum's footer to generate an update feed link and then paste it into the Slack RSS Feed integration settings.

Related

Upload pdf files from bot with Bot Framework Composer

I want to select a pdf file from the bot and send it through a Web Api but I have not obtained any documentation, if you could support me with this it would be very helpful.
Thank you.
You can send a PDF, but you cannot send a local fie. It has to be uploaded somewhere or encoded. So, sending with activity and contentUrl of either data:image/png;base64,${imageBase64} or https://www.example.com/path/to/file.pdf
Please see more info explained in this comment. Also be aware that different channels behave differently with attachments (See end of conversation in that same thread).
Edit: Actually, the change to be able to send a binary is currently in the works. Please watch here.

Slack: how does one go about providing the 'box/dropbox/google' like integration?

Slack offers Box/DropBox/Google integrations, specifically the ability to add (pick via a dialog) a file to Slack from one of these offerings.
I have tried my best look up the different sort of integration possibilities but cannot find any documentation that I can leverage to build my own (to another product).
How does one go about providing a similar integration for his product?
The reason you do not find anything on how to create integrate products similar to Google Drive and Dropbox in the official API documentation is that those are custom solutions created in collaboration between Slack and vendors like Google. If you want something similar for your product I would advise you to contact the Slack business team for details.
However, there is one feature in the API that allows you to create some of the functionality:
Slack app unfurling: Automatically add custom attachments whenever a user posts a message which contains a URL to your product. Those can include preview images and text of your product.

Yammer Embed config: Feed 'my_all'

Is it possible to display feed 'my_all' (https://www.yammer.com/[network]/#/home?type=my_all) within Yammer Embed?
All available embed options are listed here: https://www.yammer.com/widget/configure
There is a "My Feed" option, which is probably the one you need.
You can leave the feed type out and get the My Feed. Yammer Embed offers a number of feed types and for historical reasons these do not match what is available in the Yammer website, including the Discovery or Following feeds.

How to post to the activities feed in yammer

I saw on a slide deck about yammer that activities was a valid endpoint in the REST APIs. But the yammer site does not show this. I am looking for a sample in JavaScript for posting to the activities feed.
All of the documentation about Yammer's Activity Feed API can be found in the Open Graph documentation found here:
http://developer.yammer.com/opengraph/
Specifically, you want to POST to:
https://www.yammer.com/api/v1/activity.json
We don't have any specific Javascript samples available, but that should be enough to get you started.

gData API - "This feed is read-only" error when adding to Google Calendar

I'm using Google Apps for my domain, and trying to enable access to the calendar on my website.
The problem is that I get This feed is read-only error every time I try to add an event to the calendar. Here's where I post to: Link (dead link)
You're using the basic feed, which according to the documentation is always read-only. Use a feed URL ending in private/full or private/full-noattendees instead.
(Disclaimer: I work for Google, and as part of implementing the calendar side of Google Sync I've had some experience of working with the GData APIs, but anything I write here must be taken to be the views of a private individual rather than as official Google policy etc :)

Resources