Where can I find my Chrome extension's public key? - firebase

I'm updating my Chrome extension to use Firebase for authorization and database support and this page tells me I need the extension's item ID, which I have, and its public key, which I don't. I recall that the public key used to be visible in the developer dashboard, but I don't see it anymore. Where can I find it and why did Google remove it?

#wOxxOm answered the question as follows:
If you google up "browser profile directory" you can find a tutorial. Inside this directory you will see Extensions, there you'll find your extension as served by the web store so its manifest.json will have key.

Related

Having Guest access to a document - should this allow users to search for this document?

I am working with an Alfresco customer that has content that has the "Guest" permission on entire spaces within Alfresco.
But they claim that Alfresco search does not allow users to find this content using Alfresco Search, even though if they were to have the URL directly, they would in fact be able to open and view this content.
Google Drive has a similar behavior to this referred to as Link Sharing:
So in Google Drive, you can have access to a document but only if you have the URL to the document.
Does this same sort of thing exist in alfresco?
I am using the CMIS api to access alfresco document metadata.
Is there some "anyone-with-link" property/metadata that I should be using to determine if I should allow the document to be indexed in search or not?
Yes, Alfresco has functionality called "quick share" which allows anyone with the link to access the document. That is not the same thing has having Guest access on a space or on a document.
However, I am confused about your question because everything gets indexed into Solr regardless of permissions, unless it has the index control aspect set on it, which would have had to have been added to explicitly exclude the object from being indexed.
Maybe what your customer means is that logging in as Guest in Alfresco Share or via CMIS is not supported.
Bottom-line is if your application is using a non-Guest service account to make the CMIS calls, it should be able to do whatever searches or queries it needs to to find the documents, provided the service account has permission to see the results.

Allow non Admin users to modify / edit table

I'm working on AppMaker since few week but I got stuck, so I got a very simple question but I can't find any answer.
Is it possible to non admin access user to modify or edit a table on release App? For example, the Hello Data tutorial, if you release a deployments version, a non admin user cannot work with it because he can't modify data. And obviously, I saw nothing on google documentation
Thanks
I believe you are referring to access levels within the models themselves, such as creating, editing, loading and deleting. App Maker defaults each model so only Admins have all of those access levels. You need to go into each model and change the access levels to suit your needs. Please see the attached picture. If you need different access levels for each of these functions you need to choose 'Advanced'.
I think what you are getting at is you want the public to be able to view and use the app without having to log into google right?
I'm having the same issue. I'd like to have an app completely public useable by anyone with a link without ever having to login to google.
Once your users log into their google account they can see your app when you mark it public or don't restrict access, the unlogged in public cannot see a public app apparently.

Remove web properties by api (Google Analytics)

I need to remove web properties by api in GA. Here i read about beta for developers and requested access.
https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/webproperties
Answer was:
Analytics Writes Whitelist for project number xxxxx has been approved.
But a dont understand how to remove web properties. It will be method like management_webproperties->delete where i can read about it?
Unfortunately the API for Web Properties does not support the delete method [reference]
Depending on what you are trying to achieve, there are some potential workarounds:
Rename the property to something like "z (Archived) Property Name" so that it appears at the bottom of the list of properties for a user.
Delete all views under a property. The property will still exist, but will be "empty".

Share my google drive data using a website in asp.net

I have some files and folders in my Google Drive.And I have a website.
I want to show my Google drive content in one page of my website.Any body can view the those data.
I tried this since morning.Using javascript I did that.But in that case it only show the data when I login using that Google account.But from other machine or with out sign in using my account it's not show any data.I checked from firebug it's giving a error like login required.
Can any one help me to solve the problem.I will like to do that using asp.net.
Thanks in advance.
Share a folder with public Internet, use an API key to query the files under that folder with an API key.
gapi.client.setApiKey(API_KEY_HERE);
gapi.client.drive.files.get({
'q': '"<publicFoldersId>" in parents'
}).execute(callback);
Obtain an API key from API Console by generating a key for browsers [1].
Note: I'm using the JavaScript client library, available on [2].
[1] https://developers.google.com/console/help/#generatingdevkeys
[2] https://developers.google.com/api-client-library/javascript/

Renaming a facebook page tab

I have created a facebook application to add a page tab in any facebook page.
for this i have a pagetab name in facebook integration of application's setting part.
Suppose i have added the name as "MyFbTab"
Now the problem is when someone add my application to his page then a tab will be added with name MyFbTab , but i want to ask user for a name and then the tab created with the name entered .
I am using facebook js sdk for this
So please help regarding to fb js sdk
I have found a method for this in php sdk but want to do this in js sdk
regards
You can use the API to change the name given to an installed page tab, see here:
https://developers.facebook.com/docs/reference/api/page/#tabs
Short version, make a POST request to
/PAGE_ID/tabs/APP_ID?custom_name=MyPageTabName&access_token=PAGE_ACCESS_TOKEN
{edit}
In the Javascript SDK you won't be able to do this directly because the Javascrtipt SDK will be using the user's access token and you'll need to make that call with the page access token you retrieved from the user's /accounts connection earlier.
OAuthException "(#210) Subject must be a page." has an example of someone using Jquery to take the page access token and make the API call that way. In their case they're using it to install a tab rather than edit an existing one, but it's almost exactly the same for your problem

Resources