Facebook(workplace) Bot Post Permission v2.10 update - facebook-graph-api

I'm having a trouble in posting in a group using my chatbot.
the update in from v2.9 to v2.10 change the permission of groups that are closed and secret
Publishing
Permissions
For public Groups:
A User access token with the publish_actions permission.
For closed and secret Groups:
A Group admin's User access token with the publish_actions and user_managed_groups permissions.
link: https://developers.facebook.com/docs/graph-api/reference/v2.10/group/feed
my bot have a user_managed groups permission but I can't make my bot become an admin of a group and I cant add add it to a group.
ps. my bot can still post on public groups
questions: Is there another way that I can make my bot post again in close or secret groups?

The workplace developer team already fixed this issue few hours ago. The bots can again post to closed/secret group. Tested and working.

Related

Can we have Multiple Roles in Single UserPool in AWS Cognito?

I am working on a Project and in there I have used AWS Cognito for basic Authentication for My Web Application; In this web Application I am providing multiple role-based Authentication (Like Super User, User, Admin, Super Admin) and for that right now I have created different Userpools for each. Is there another way to achieve the same functionality? like I can use single Userpool and still can achieve Role-based Authentication. Also, which one is the Appropriate?
You can setup different groups in the same Cognito User Pool.
In your case Super User, Admin and Super Admin. Then assign your users to the group that they belong to. In your backend code you will then need to check what group the user is in by looking up the group that the user belong to.
See this link for more details: cognito-user-pools-user-groups

Get group list for given user account

Please I need to retrieve group list for a given user account, the only solution I found is to use google-admin-sdk, but unfortuantly it needs to have an admin account, but for me I have only a free gmail.com account, when i use it I get Not Authorized to access this resource/api.
So my question now is :
Is it mandatory to have an admin account for a specific domain to use this
api.
Can I get an admin account from my gmail.com account.
Thank you for your help in advance.
Answer:
In order to use groups.list (part of Google Workspace Admin SDK), you need to have a Google Workspace account.
Any Workspace account in your domain that has been granted Group privileges can list groups in that domain using this API.
Reference:
Group privileges

AWS Cognito User Management

For the last few years, I've built a PHP and MySQL based website where users can submit reprographics and IT requests. I'm hoping to make this cloud-based rather than running it from a local webserver. My initial idea was to have an EC2 instance running as a web server for each company which uses my system, but as the system is PHP session based I'm assuming the security would not be great so I think I need to move towards more of an AWS system using Cognito for user management and the API Gateway with Lambda to do the job of getting the data from the databases. My question is, my current system has an admin console where the admin user can access the lists of users, and assign them permissions (session variables) which allows them access to specific pages. How would I make a webpage where users can manage the users in a Cognito user pool without giving them access to the AWS console.
Implement a Cognito AdminAddUserToGroup operation in your Lambda function for admin users to manage what Cognito Groups your users belong to. Your admins will be the only ones that are able to invoke the API call to the Lambda function because they'll be included in the Cognito Admin Group with appropriate permissions to invoke the Lambda function that you specified as the developer.
Specify permissions of what each Congito Group has access to by assigning roles for each Cognito Group.
You can also decode the jwt on the backend to determine what Cognito Group the user belongs to that made the request and use Amplify on the FrontEnd to manage the FrontEnd's display of content based on the Group (links, etc). More info about that can be found in this thread: How do I access the group for a Cognito User account?
I do not have enough points to comment on the CLI update-user-pool suggestion, but wanted you to know that wouldn't work because 1.) It would impact the entire user pool and affect ALL users in the user pool and 2.) It would make no difference in regards to what your users were able to have permission to access in your application.

Error with facebook API Marketing request

I have a problem with facebook API Marketing when I try to do this post request: act_ad_account_ID/users
I try to give to another user an analyst access to account, but it returns me error: (#10) Application does not have permission for this action
It happens only with one account, great number of other accounts works fine. All permissions of application are set correctly.
Cant find any description of this error. Could you please help me?
Updated:
Found that the error occurs when the ad account belongs to the partner, even if the admin role in the ad account.
So I have a question: Is there a way to add a advertiser to the add account of the partner of business owner? If I have all permissions of owner account?

Google Groups Audit Email

is it possible to audit google groups mails?
I would like to know when the last time someone write to a google group.
Email Log Search is nice but i cant find this in any Google API. Or something like Account Activity for Google Groups.
Regards
If you're referring to tracking of changes to groups, group memberships and group messages within your domain and troubleshoot when users within your domain notice discrepancies and unexpected changes to their groups activities, please check further in Groups audit log.
Please note, however, that groups audit log is only for the Google Groups interface and it logs both user and admin actions executed using the interface. As stated further in Groups audit log, Google Groups actions performed by administrators using the admin console or the Admin SDK directory API are logged in the Admin Console general logs.