Can I copy my Open Graph configuration between apps? - configuration

Is there any way to export you open graph settings, or copy them between apps?
We have domain names that we used to deploy our code to before it goes into production.
http://dev-mysite.blah.com
http://int-mysite.blah.com
http://preprod-mysite.blah.com
http://mysite.blah.com
We have setup facebook apps for each of these domain names. And now I need to configure each of these apps to have Open Graph actions and objects. It seems like a pretty common scenario so what do you do?

No, currently you have to do this manually.
However, you can rationalise it down to two app ids - one for production, and the other for all pre-prod and dev environments. This should cut down the work.

Related

Cannot find a Google App Script I deployed as a web app

How can I find a Google App Script web app I deployed and modify it? It does not appear in my drive. Perhaps I didn't save it. Does it persist or disappear eventually? Is there somewhere that list all deployed web apps? If so, I have been unable to find it.
If your webapp is recent, simply replace "exec" at the end of the url with "edit" (without quotes) and you'll get the script editor opened on your script.
(Very old webapp have a different structure but it changed quite a long time ago so I guess you're not concerned with that.)
No. There is nothing like deployed webapps list. if u didn't save, u can't get it back even though you had deployed it. Make a try to open that script with the url available in your browser's history.

Two Air apps with the same applicationStorageDirectory

I have an AIR desktop app and I want to made another app that works like an admin panel. It must have the same applicationStorageDirectory to comunicate each other. It is posible? How?
Thanks!
Don't believe this is possible.
Alternatively you could create and access a common directory for both your apps in File.documentsDirectory. eg,
var common_file:File = File.documentsDirectory.resolvePath("cibermans_apps/data.xml");
If you want to truly communicate between them live (not just edit common files) and both apps are running, you could use the Local Connection class.

How to build visualizations as chrome app

I am very much impressed by the way this app was build , https://chrome.google.com/webstore/detail/visual-history/emnpecigdjglcgfabfnmlphhgfdifaan
I wonder if SAP Lumira was involved in this application, for the live visualitations to work fine. but i am not sure of how it was developed as an app as it can only export as png files and the data can only be from flat files and hana database. Any help to analyse the nature of this application is appreciated.
I think your question is not stated correctly: it's like asking "how to build visualizations for the web" (in other words, it's too broad and it's not specific to Chrome apps). I think what you want is a way to analyze the source of an app. What you can always do for that is:
After installing the app you're interested in, visit chrome://extensions.
Turn on the Developer mode (a check box in the upper-right corner).
Find the app in the list and note down its app ID.
Go to Chrome settings directory, e.g. ~/.config/google-chrome for Linux - the location will depend on the OS and the Chrome channel that you're using.
Find the app's installation directory, which will look something like <Chrome settings directory from #4>/Profile N/Extensions/<app ID>/<app version>.
You will see the entire app's source there.
Specifically for this app, you can see in the sources that it uses something called JavaScript Graph framework (see /canvas.js) together with D3.js (see /protovis-3.2/).

Custom Extensions on Managed Chromebooks

I am a developer looking for the best way to set up different schools with their own custom, private extensions (ie School A should be the only one with access to Extension A). Theoretically, I am aware that there are a few ways to get a custom, private extension pushed out on a domain:
Host the .crx on a server and click "Specify a Custom App" in the management console.
Create a Domain App by uploading a zip to the Chrome Web Store
Upload the extension from my developer account to the Chrome Web Store and publish to a single "trusted tester," or make it unlisted
Option (1), hosting the .crx, has not been working. I am not sure why, but the extension is simply not pushing out. I link directly to the crx file, which has the right ID and MIME type, still, no dice. If anyone has any tips or suggestions for getting this to work, I would love to hear them!
Option (2), having the school create a domain app, seems a bit inefficient because it requires all schools to upload their own zip. So essentially I would have to email a zip file to the school, and have them publish it. All updates to the extension will also require a similar process, so this doesn't seem ideal.
I doubt that option (3) would work. If I published to the admin as a "trusted tester", I don't think that the other people in the domain would be able to access it. If it is unlisted, I do not know how an admin could find it in the Chrome Web Store dialog. Also, I would rather avoid security through obscurity.
Has anyone had success with hosting the extension and using the Specify a Custom App feature? Any other suggestions for getting a Custom Extension pushed out by the management console? Thanks so much!
To get option (1) working from the management console, it is important to specify the correct extension id and a valid update xml url (not a crx).
One useful feature Google offers that you can use is getting the extension id and the version from the update request.
For instance, you can create a update.php file that outputs an xml file specific to each extension and version. See http://developer.chrome.com/extensions/autoupdate.html under "Advanced Usage".
For more info on packaging an app or extension for managed chromebooks, see https://support.google.com/chrome/a/answer/2714278?hl=en.

migrate google apps script project to new domain

I've been developing a series of Google App Script projects for a Google Apps for Business client, which are designed to be embedded into their sites pages.
To date, the development and demonstration has been done in my domain (partly because the client would not move their domain to Google unless I could make this bespoke web app work for them).
Now we are at the point we want to transition all of this into their domain.
I guess I could just copy and paste all the files, recreating the projects as I go.
But is there some more elegant way of managing this, eg, to copy the existing projects to the new domain on a project basis?
There's no need to maintain a linkage between the projects in the old domain and the new one, except as a nice to have (so I could keep developing and testing in my domain)
Would just have the client make a copy of your files from their new domain then add you back as an editor. Don't see any reason to copy and paste anything. Since editors can now access the dev link on other's scripts, that may be a reason to not need a library setup. You would just be testing and making changes from their file's script editor from now on.
The owner also has to be the 1st to initially deploy the web app. Have noticed that when you're an deploying subsequent updates as an editor, your domain name still appears in the permissions drop-down on who can access but it does get implemented as theirs.
You could turn your projects into libraries so you don't have two separate instances of the script. Then you could create one MasterScript on their domain that calls the various project scripts: https://developers.google.com/apps-script/guide_libraries