Automatically create group events at facebook - facebook-graph-api

Since the second version of the Graph API from Facebook they didn't allow anymore to create events via the API.
I want automatically create each 2 days a new event in a specific group. Is there another solution except to do it manually?
Thanks in advance!

No, it´s not possible to create events with the Graph API anymore, as you pointed out. You need to create events manually.

Related

AWS appsync graphql subscription

I have two seprate apps each has seprate AWS cognito userpool appsync api but has shared dynamodb. I want to create subscription for chat feature where app 1 (client app) and app 2 (admin app) will communicate. Is it possible please advise.
I have followed this article from aws:
enter link description here
need advise how would that work in my case with two different apps.
I think you first need to take a step back and separate the problem from the technology. You want to create a chat app, how would you build this? Do you need a data store or a queue? First think in abstractions then look what technology fits those abstractions best. If you start with the technology first you will most likely end up with a sub-par solution.
If you really want to go for the technology first approach you could think of storing chats in DynamoDB(DDB) and using DDB streams to update the subscription. It can work but it will most likely be expensive.

Amazon Quicksight - is it possible to invoke APIs in Quicksight?

I am new to AWS. I have to design an architecture for a client specifically with AWS, as they already use some AWS components. Their request is to have a frontend in Quicksight. The alerts should be visible in a table, each row representing one alert. The alerts should have a status column (new/in progress/solved etc.) and there should be a button at the end of every row, and when the user clicks on the button, the user should receive a pop-up, where they can put in some comments, then after clicking on an OK button, the status should be updated and the comments should be stored.
Their expectation is to store the alerts history in an AWS database. They currently use ProstgreSQL on premise. The question is, is Quicksight able to fulfill these requirements? Is it possible to add buttons with which the user can make updates in an underlying database, and refresh Quicksight, when the update was done? If not, what would be a better tool for the visualization?
(I was planning to create some APIs for making updates in a database, my original plan was to use DynamoDB, but I might need to reconsider this due to their preference regarding ProsgreSQL).
I don't think this is directly possible in QuickSight. There is no way to provision external controls (like buttons) and trigger actions right away. However, a possible workaround can be using a blended way to use QuickSight APIs and trigger events from a web app using AWS Lambda. This is not a proven practice yet, but I anticipate this is possible.
Cheers!

GSUITE users.delete and transfering data

When I delete a user using the admin console, I have the possibility to transfer users data before deleting.
Using the Users.Delete api (in C# winforms application) I don't have this possibility.
Is there perhaps a way to perform a data-transfer using api's (before deleting the account) ?
Thanks for the help.
There is a specific API for this, called Data Transfer API
It features the method Transfers:insert
Use it specifying parameters of the Transfers resource - important is newOwnerUserId and oldOwnerUserId

(GCloud SQL) Is there a way to opting in to maintenance notifications via CLI or API?

I'm looking for a way to toggle this notification via gcloud CLI or API call since I need to automate it.
Is there a way of doing it? If not, is this going to be available in the future?
Having a lot of environment is hard to keep track of all of them via UI.
I have checked the Cloud SQL Admin API and it seems it is not possible yet. The best way to proceed in this cases is to create a Feature Request in the Public Issue Tracker. I searched for an existing one, but I didn't find any. When submitting a Feature Request, the Engineering team has more visibility of your needs and they can prioritize those requests by the number of users affected.

Detect Presence in AWS AppSync

I am working on an app that relies heavily on detecting when users go offline and go back online. I wanted to do this with AWS AppSync, but I can't seem to find a way to do this in the documentation. Is there a way to do it in AppSync?
Thanks for the question. Detecting presence is not currently support out of the box but you can likely build similar features yourself depending on the use case.
For example, a resolver on a subscription field is invoked every time a new device tries to open a subscription. You can use this resolver field to update some data source to tell the rest of your system that some user is currently subscribed. If using something like DynamoDB, you can use a TTL field to have records automatically removed after a certain amount of time and then require a user to "ping" every N minutes to specify that they are still online.
You could also have your application call a mutation when it first starts to register the user as online, then have the application call another mutation when the app closes to register it as offline. You could combine this with TTLs to prevent stale records in situations where the app crashes or something prevents the call to register as offline.
Thanks for the suggestion and hope this helps in the meantime.