关于Yammer GET /messages/my_feed.json API返回数据变更的技术咨询
GET /messages/my_feed.json API Change & Getting Full Group Messages Hey there! Let's tackle your question step by step:
1. Did the API get updated?
It sounds like yes, the GET /messages/my_feed.json endpoint has almost certainly had a behavior update. Platforms often tweak feed APIs to prioritize content that's more relevant to the user—like interactions (replies to your messages/threads) and posts from other users in your followed groups—instead of dumping every single message from all followed groups.
To confirm this, I'd recommend checking:
- The official API documentation for any recent changelog entries about the
my_feedendpoint - Release notes or developer announcements from the platform (if they have a dev blog or community forum)
2. How to get all messages from your followed groups?
If you need full, unfiltered messages from every group you follow, here are a few approaches to try:
Use per-group message endpoints: Most platforms have a dedicated endpoint for fetching all messages from a single group, something like
GET /groups/{group_id}/messages.json. You can:- First fetch the list of groups you follow (via an endpoint like
GET /users/me/followed_groups.json) - Loop through each group ID and call the per-group message endpoint for each
- Combine the results locally to get a full feed of all group messages
Pro tip: Don't forget to handle pagination (look forpage,limit, orcursorparameters) to make sure you don't miss older messages.
- First fetch the list of groups you follow (via an endpoint like
Check for a bulk group messages endpoint: Some platforms offer an endpoint that lets you pass multiple group IDs in a single request (e.g.,
GET /messages/group_feeds.json?group_ids=123,456,789). This cuts down on the number of API calls you need to make.Look for a query parameter toggle: Sometimes when platforms change feed behavior, they add a query parameter to revert to the old logic. Try appending something like
include_all_group_messages=trueorfilter=allto your originalmy_feedrequest and see if it returns full messages again.
If none of these work, reaching out to the platform's developer support team with your use case is a good next step—they can confirm the API changes and point you to the best alternative for your needs.
内容的提问来源于stack exchange,提问作者Joshua Fermin

