Cloudkit JS - Is there possible to generate Api token dynamically without using iCloud dashboard - icloud

I need to access iCloud container private database data from web, so i am using cloudkit js and I can access the iCloud container private data using containerIdentifier and apiTokenAuth.apiToken.
The apiToken is genereated by using iCloud dashboard
But my requirement is I need to get iCloud containter private data which is uploded by different user, that mean my ios developer create a containter using xcode and using the same container name to every user who using my app and when the user upload their data and it'll store into their (user) own icloud container private database.
Okay, in this scenario how I would access private database from web for different user where the apiToken not generated before anywhere?
Is it possible to generate ApiToken using xCode? like containter id!
Or any other way to access iCloud database? like cloudkit js!
Or any other way to generate iCloud api token using REST API's? Using apple user credentials
I am not IOS developer, so if any mistake on my understand, Sorry!

This question is a little old, so sorry if you've already figured this out. But here's my input on your questions:
The only way to generate an API token is through the CloudKit Dashboard.
You can access iCloud database through the Swift APIs and the CloudKit JS API, yes.
Yes, you can access CloudKit through their Web Services APIs here: https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitWebServicesReference/index.html#//apple_ref/doc/uid/TP40015240-CH41-SW1
I hope that helps!

Related

Fetching data from DynamoDB Table after adding data from different user into that

I got a AWS amplify app with datastore categorie. Also user can login and add notes (AWS Cognito for authentication and GraphQL as API in order to insert data to the table). I coded the login function and further Backend services on ios plattform while using swift.
Those notes are created by different user. Now I want to provide those data for a user which only has read access and din't has to be logged in.
Question is, how to access to this data via a REST interface. Unfortunately I can't find any API address listed in the Table details. Does anyone has experience with this stack and can advice here ?
My goal is to provide all data to a usual visitor of the app. So he should be able to see all data, published by all users.
Appreciate your help.

How to access facebook API without creating facebook App

I'm currently researching on how to use facebook API and collect its data thru streamsets and store it to S3. But facebook requires developer to create an app and verify it which somehow not applicable to what I'm doing right now. Is there other way to do this? like different process to access the Facebook API without creating an App?
While I'm happy to stand to be corrected, I do not believe this can be done.
It's not like you have to actually MAKE an app with your "app" - the app is simply an API key that has some associated data with it like titles and URLs and such. This also helps them track your usage and make sure you're following the rules, and block your key if you don't.

it is possible to embed a private report into a web site & filtering access to data for non G users

We're trying to embed a GDS private report in our customer portal and we hope to filter the data using the email of the person connected to our customer portal . some of our users are no google users (they dont have an account gmail) and they're connected to this portal with an email and password form of authentification.
Our data is stored in Google Storage and we use Bigquery for querying and we use BQ connector to connect BQ and Google Data Studio.
There is any solution to do this ? parameters in GDS report URL ? Through API?
Any help will be appreciated.
Taoufiq.
The documentation states that the only sharing options are: a) Making the report public, or b) Have the user authenticate with a google account. Unfortunately, it neither has an API, nor support for parameters through URL yet.
This is possible to do using Community Connectors and some minor development work in your portal. You will need to pass a short lived unique token as a parameter for the embedded report and then have an API or some other way to tie that token to a user identity. This solution guide has instructions for this specific use case.

Do I really need to register an app to show a simple 'friends' list on my website?

I want to use the Facebook (Graph) API to show a list of names and pictures of friends of a facebook account (which I own). Do I really need to register my website as an app for this? Since I don't really think of my website as an app... Or can I somehow get an access token that doesn't expire since I can grant access to this list of friends myself?
Think of an app on Facebook as an API Key. Your App is how Facebook identifies who is making the call, what permissions you have, and if you are abusing the system or not.
And no, you can't get access to most Graph API data without a valid Facebook App.

Facebook Integration Static access token

I'm trying to use the facebook API on the backend of a website. Essentially, I want to be able to create events using a Djano app and have it create the corresponding facebook events.
The organization I am creating events for already have a facebook page. I only am concerned with posting events on that organization's page. I am the admin for the organization so I know all the login info.
What I am am trying to figure out is how I can setup the access token such thatit just works for the organization without any need to login to the facebook app. I was thinking that setting a static access token would do the trick, but I cannot find anyway to do it.
So, what is the standard way to create a facebook app that only interfaces with one predefined user?
Im not entirely sure what you're trying to do. However the static access token has now been deprecated. Do you want to: create an event for the person using the page, or for the company's page/profile?
Hope I can help