How to logout from windows8 apps using facebook-winjs-sdk? - facebook-winjs-sdk

I tried using facebook-winjs-sdk , but FB.logout() functionality is unavailable.

Have you checked out the sample yet?
You can find it at https://github.com/Thuzi/facebook-winjs-sdk-sample

Related

Determine where a gmail add-on is running

I'm developing an add-on for gmail and I'd like it to show different texts depending on whether it's running on the browser or on the android app, but I don't know if it's possible.
I've tried using HtmlService.getUserAgent() and the deprecated UiApp.getUserAgent(), but both of them return null; and I haven't found any other possibilities on the documentation.
Can anyone help on this? Thanks!
Solved. The function provided as onTriggerFunction of the appsscript.json file has an event parameter with a clientPlatform property that can be either 'web' or 'android'.

Unable to find Enable developer add-ons for my account checkbox

I'm working through the quick-start for a Gmail Addon.
https://developers.google.com/gmail/add-ons/guides/quickstart
When I try to Install my developer addon I
Open the Gmail add-on settings tab
In the Add-ons tab, make sure that you have selected the Enable developer add-ons for my account checkbox
However there is no checkbox...
Is this edition limited? Do we need to do something else to enable this?
Thanks for your help,
Paul C
Apparently there is a bug for GSuite admins and they cannot see that button or add addons right now.
Try your personal gmail for now.
There is an issue open with Gmail https://issuetracker.google.com/issues/68234732
I have contacted the Gsuite team, will update the answer once I have something solid.
Update (Dec 19, 2018)
Looks like this issue has been fixed, I could get it working on Corporate and Personal email.
According to this recent G Suite Developers Blog post, installing developer add-ons has now been enabled for users of G Suite.
And indeed, when I go to 'Settings' -> 'Add-ons' in my G Suite account, I do now see the 'Enable developer add-ons for my account' checkbox.
However, when I click this and enter my script's deployment id, I always get the same error message: 'Invalid Add-on'.
I would be interested to hear if anyone has got this working or not?
Edit 02/02/2018:
Further to the above and following communication with Google Support, apparently it looks like a setting in our G Suite Admin was causing the problem.
We managed to fix it by following the instructions here, making sure to select 'Allow users to install any application from G Suite Marketplace': https://support.google.com/a/answer/6089179?hl=en
It's a bit counter intuitive that a setting involving the Marketplace should affect our developer plugin that we hadn't yet put on the Marketplace, but in any case, after an hour or so our developer plug-in started to function.
Obviously it also is not ideal having to allow any app to be installed from the App Marketplace. Hopefully Google will put a more permanent solution in place soon.

Where can I find the resources to learn how to develop plug ins/add ons for Windows Onenote?

I want to make a plug in or an add on for the windows OneNote application but all I can find is the OneNote API. Correct me if I'm wrong but that API is not to make an add on so I need some other resource that I can learn from.
For example, creating something that will manipulate the text in OneNote.
there is a COM API that you can use that works with Windows OneNote. Documentation here: https://msdn.microsoft.com/EN-US/library/jj680118.aspx
Separately there is an open source sample here: https://github.com/onenotedev/vanillaaddin
This is for a plugin for OneNote. It is also possible to do this as an external Windows or console app.

Client's channel registration with Windows Azure

I'm trying to create this sample by myself:
http://channel9.msdn.com/Events/windowsazure/learn/Windows-8-Push-Notifications-with-Windows-Azure
I created the Push Notifications Registration Cloud Service (the project i created with vs2010) and it seemed to run ok.
Then I created the client project on vs 11 (Metro style app with JS and HTML5), ran it and tried to register a channel. It didn't work and wrote on screen "Registration not accepted" instead of the channel's uri.
What should I do?
Thanks for help.
It didn't work and wrote on screen "Registration not accepted" instead of the channel's uri.
I would like to suggest you to use Windows Azure Toolkit for Windows 8: http://watwindows8.codeplex.com/. Then, try to compare your code with the sample code to find out where the issue is encountered.
Best Regards,
Ming Xu.

Create Internal Google Drive App without publishing on Chrome Web Store

Is it possible to create a Google Drive Web Application using the Google Drive API without publishing the application to the Chrome Web Store?
I have tried to implement it.
The authentication is now done, but now it complains about:
"403 : The Authenticated user has not installed the app with the client id {clientid} "
Thanks in advance!
Regards,
Pedro
Edit: This is now entirely possible. There is no chrome webstore limitation for apps merely wishing to use the Drive API.
Currently, no, you must create and install from the Chrome Web Store. Please note that you can publish your app to a private group of Trusted Testers which will prevent it from showing in the main listing (which would be bad during development).
We understand that this is a barrier to entry of using the API, and are looking at solutions.