google people api - is there any way to add developer only data? - google-people-api

It seems the google people api does not support extended properties (user defined fields are supported but not extended properties) - see https://issuetracker.google.com/issues/113346916
Given this, is there any way to add developer only data to a person object? I.e. some way to attach data via the api that the user cannot view or modify via their Google contacts?

Reply from Google dev support: Extended properties are now exposed as ClientData.
See https://developers.google.com/people/api/rest/v1/people#Person.FIELDS.client_data

Related

Azure B2C Dual Language Custom User Flow Template

I've created a custom template for B2C Sign In User flow. I wanted to add instruction text on the top of the page in 2 languages, so I created 2 templates, uploaded them to folders in blob storage.
When I insert a link to the User flow it is working for separated languages, but once I add a wildcard value {Culture:RFC5646} (which is recommended on MS docs) it doesn't work.
Have you got any ideas or advices of how this needs to be done?
Just to add another issue to this: the language is custom.
Thanks!
The language customization feature allows Azure AD B2C to pass the OpenID Connect parameter ui_locales to your endpoint. Your content server can use this parameter to provide language-specific HTML pages. The important thing is that the parameters must be passed in here.
Reference : azure b2c - custom UI - localize custom label
I managed to find the answer.
Instead of {Culture:RFC5646} I've added {Culture:LanguageName} and it fixed the issue!
Link below:
Question about Culture:RFC5646 and ContentDefinitions

Is there a way of querying Google Secrets Manager?

Google Secret Manager supports setting labels. The UI supports filtering by name or label. However, I can't find a way of searching secrets in any sane way other than scanning them all. Am I missing something?
link to REST API:
https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets/list
There is a query filter language you can use with the Google Secret Manager Rest API. It took a while to track this down, but the filter language is documented here.
https://cloud.google.com/secret-manager/docs/filtering
With this you can pass a url parameter filter=somecondition - for example
?labels.environment=production

GSuite Vault API: Any way to get a list of users on hold programmatically?

Currently, the Google Vault API does not provide a way to get a report of all users in a G-Suite tenant or domain who are on hold in one or more matters. This information is currently available only via the admin interface for Google Vault under Reports/User Holds. It would be great to be able to obtain this report via an API call in JSON format rather than only via the admin UI. Am I missing something or is this functionality already available?
Respectfully, please keep in mind that suggesting that I perform API operations to search all matters and iterate through the users on hold in each matter to obtain this information is not the answer I am looking for. There should be a quicker, more efficient way to get this information since such a report is already available via the UI. I am simply asking if there is a way to get this same information programmatically via the APIs/automation. Thank you in advance.
Unfortunately, Vault API does not have a method for that. The only way to retrieve this information is to list all matters and iterate through them, as you already mentioned.
File a feature request:
It's not uncommon for a feature to be present only in the UI. If you want to see this implemented on the API, I'd suggest you to report it on Issue Tracker's Vault component.
I looked through the issues of this component, and it looks like this hasn't been requested yet. There's currently a somewhat related feature request, but not exactly what you're looking for:
Audit reporting functionality
Update:
The original poster filed a feature request in Issue Tracker. I'm add this to the answer in order to give it more visibility.
To anyone who would like to see this feature implemented in the future, I'd suggest starring the issue (star on the top-left) in order to help prioritizing it:
Vault API: Need API method to return list of all users who have active holds as available in Vault UI

Access public data of other users using Instagram/Facebook API

I would like to access other users public data to show in my website when they configure the page by their username/id.
It means I will create an app on FB/Instagram side and with the help of this app's access token I would like to fetch public data of other user.
Is this scenario valid now? Earlier it was possible but I am not sure now with changes in policies. Even the documents are not clear enough which can say it's possible or not?
Has anyone tried this out recently?
Users: Only data of users who specifically authorized your App is available, depending on the authorized permissions. It does not matter if data of user profiles is public or not, you have to get permission from each user separately.
Pages: If you want to get data of pages you don´t own, you have to go through a review process with your App to get access to "Page Public Content": https://developers.facebook.com/docs/apps/review/feature/#reference-PAGES_ACCESS
That´s for Facebook, about Instagram you can just hit the docs (as well): https://developers.facebook.com/docs/instagram-api/business-discovery
My number one recommendation, in this case, is Facebook API or Instagram API from Data365. I may be considered biased since it is the tool I work for, but it is really a reliable tool you can get public profile data by users ID or username.
Of course, you can use the official Facebook/Instagram APIs for searching all public objects (post, user, page, event, group, place, check-in). But note, the official API has a number of restrictions. Andyrandy has already described them in his answer. Compared with official APIs, we do not have such restrictions.
Besides, our APIs provide such unique features as gender and age recognition (via face photos) along with identification of post reactions that give a competitive advantage in obtained analytics. Data365 APIs also enable developers to create monitoring tasks for a one-time or auto data update. And above all, we do not break the law but only provide web scraping within the legal framework.

Authorizing the BlueJeans API with a Django app

I'm trying to make a Django app automatically send invites to BlueJeans video conferences using its API (https://bluejeans.github.io/api-rest-meetings/site/index.html). However, I'm finding it not so straightforward to set this up, and their customer support staff seem to not all be completely familiar with these features either.
When you request to enable API access in BlueJeans, the customer support enables an "OAuth Access" tab with a form which allows you to create an app with a name, description, and 'app key':
My question is: what should I fill in for the "app key"? (I've browsed the OAuth 2.0 RFC but so far haven't been able to apply it to solve this).
From BlueJeans' API documentation (which is shared as a PDF to developers who enable the API for their enterprise account), you can simply 'make up' an 'App Key' on the spot, and BlueJeans will create a corresponding 'App Secret'.