Created a yammer group a day ago and still not showing up in API - yammer

I just started doing some yammer-to-website integration using their API's to get the feed of a particular group.
I recently added 6 new groups and trying to get these through the Javascript API (requirement i know i can hardcode them as i have their Id's) but one thing I've noticed is that its been a day already and the following rest endpoint is still not returning me those new groups I created.
Endpoint is
https://www.yammer.com/api/v1/groups.json
The group was set as public (by default) is there anything else i would have to do in order to get these new groups as part of my response?
the funny thing is when i do the following call for the groups i currently belong to
Endpoint:
https://www.yammer.com/api/v1/groups.json?mine=1
they show up here?
Any insights on this would be greatly appreciated
Cheers

Related

Laravel application response with 429 http-status-code

I have a web application (Angular front, Laravel backend API). In that there is a section where I have messaging system. Basically four user roles can post and read messages.
When a user logged in I needs to check every 10 seconds to see if there are new messages for any user of any role(out of 4 roles).
This works fine but from time to time I get http status code of 429 Too many request. I have no idea what is the reason. Anyone have an idea of what is the reason or can point me to the right direction in order to fix this?
Note: I have a custom field system build and I use that to hold extra data of messages. I notice that when i fetch messages considerable number of models related to custom fields also quarried. Can this be a reason?
I found the solution and here are my steps.
I needed to find all my request going to the API, for that I installed this package API logger. Using this I examined the requests and there I found some request made to the API over and over.
I corrected the requests made to the API and the issue seems to fixed.

Classroom API getMaterials not returning materiels under topics

i'm trying to get Materials listed under a specific topic using google Classroom API, but what i get is only materials that are listed directly under CourseWork, once i move them to a topic getMaterials returns null;
i also tried this to get json returned by the server :
mClassroomService.courses().courseWork().list(courseID).execute().getCourseWork().toString()
the result confirmed that only courseWorks that are not listed under a certain topic that get loaded with their material.
any help please ?
Currently it is not possible to retrieve "independent" materials with courses.courseWork.list
The respective endpoint has not been implemented so far.
However, other users who are also affected by this issue filed a
feature request for this behavior on Google's Public Issue Tracker.
If you "star" this feature request, you will help to increase visibility for the importance of this feature and thus the chance that it will be implemented in the near future.

using google classroom api to change course ownerId

How? Easiest method?
Tried using postman on desktop, googles OAuth2 playground and google help pages to try make sense of what to do. Ended up using GAM as this is the easiest and gives the most helpful responses.
I have tried changing this from multiple places and i always get the error:
ERROR: 400: #UserInIllegalDomain Invitation cannot be created for user in this domain - failedPrecondition
the command:
gam update course 8077159861 owner hiddenusername#longleypark.ac.uk
(username is DEFINITELY correct ive just hidden it as its not vital information)
Any help would be much appreciated, from what i can tell some guides said to add longleypark.ac.uk to whitelisted domain under classroom but because this is the primary domain for this g suite it says you cant add your current domain so this isnt an option.
I believe the google API is broken. If anyone can prove otherwise would be a great help.
Google API support haven't managed to give me any proper response, keep saying they will test and let me know but I haven't been informed of any results yet.
Google forums support has informed me once a user account is deleted and 20 days have passed the account becomes unrecoverable which means any classrooms they are the owner of become "orphans" which means "limited functionality" and the inability to change the owner ever again, the only solution is to recreate the classroom from scratch, unfortunately along with the original account all the documents submitted to that classroom are also lost.
There are NO ways around this even though the ownerId field for a classroom really should be editable from some sort of database management tool or admin console/API.
I have run into this problem today. Thought using the API I'd be able to swap the ownerId, but no.
Bizarre that Google don't let you do this as a Google Workspace admin. We know have 3 GCSE sets which are unusable with 3 months of the 2 year course left. Very frustrating.

To post multiple groups to service now and fetch all the tickets related to those groups

I need to post multiple groups to service now and get all the tickets corresponding to all those groups.
Is there any Service Noe API or Web Service available to do this.
Please help me to do so.
Yes, there is a REST API which you could've found by spending literally three seconds on Google.
https://developer.servicenow.com/app.do#!/rest_api_doc?v=jakarta&id=c_TableAPI
https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/integrate/inbound_rest/concept/c_RESTAPI.html
As those articles state, you can literally get the exact code you need to perform these requests by opening the Rest API Explorer module in your instance.

I have to create a group in yammer using JavaScript

I have to create a group in yammer using JavaScript or using any other services so we can call that service from AJAX. For that group i can give my own name,number of users and mainly i can get that group ID.
Please Help Me.
Like atmd said there doesn't seem to be any API for creation of Yammer-groups.
There are, however, endpoints for joining/leaving groups;
POST https://www.yammer.com/api/v1/group_memberships.json?group_id=:group_id
DELETE https://www.yammer.com/api/v1/group_memberships.json?group_id=:group_id
wich in turn are joining and leaving.
Source

Resources