Outlook javascript failing after update - javascript

We are using the Office Plugin with the Office javascript API version 16.0. After the update on August 13th to version 1907 (Build 11901.20218) for our Monthly Channel and version 1902 (Build 11328.20392) on our Semi Annual Channel users we are no longer getting the email address from the userProfile using the javascript API call to Office.context.mailbox.userProfile.emailAddress. This returns a null on every call. Is anyone else experiencing this issue? Or know of a solution? Thanks.
We have tried this on versions of Outlook prior to the August 13, 2019 update and the plugin works as expected.

The solution I found was to reference the CDN office.js from appsforoffice.microsoft.com/lib/1/hosted/Office.js instead of a local version of the office.js

Related

Warning you must upgrade to the latest version of google-spreadsheet

I am trying to implement a project when I get some data from a google spreadsheet and insert into a database. Inserting part is not important for me yet. When I am trying to get the data from google spreadsheet document I get this Warning!
WARNING! You must upgrade to the latest version of google-spreadsheet!
Google's deprecation date for the v3 sheets API is March 3rd 2020
Bad news - this version of this module will stop working on that date :(
Good news - the new version of the module uses the newer v4 api :)
However, there are breaking changes, so please see the docs site
https://theoephraim.github.io/node-google-spreadsheet
It's still give me the data, but I get the warning.
Somebody who knows how do i get rid of that warning?
The Google Sheets API has been upgrade from version v3 to version v4
What does it mean?
It means that certain method names, parameters and building of the authentication client have changed.
If you are using an old code based on v3, so building the authentication client as
const sheets = google.sheets({version: 'v3', auth});, your code will stop working in the near future
While Google specifies March 3rd 2020 as the deprecation date, there is still some grace period, but your code could stop working any time!
So, please update your code by changing to const sheets = google.sheets({version: 'v3', auth});
Adapt other parts of the authentication flow if necessary to the new procedure provided in the quickstart for v4
Go through the references to see if any of the requests you are using has changed and adapt as necessary.

How to close office 365 taskpane from plugin javascript code?

I am creating an Office 365 plugin for outlook using NodeJS and javascript... I use OfficeJS library to interact with Outlook. My plugin appears in the Outlook taskpane. I want to have button in my plugin HTML. When clicking on that button the taskpane must be closed. Anybody knows how ? thank you !
This feature is not available yet, but you will be able to add it into your add-in soon. As of Office.js API level 1.5 you will be able to call the method "closeContainer()". Preview documantation is available at Office.context.ui.closeContainer()
EDIT:
Office.context.ui.closeContainer() method is available at Mailbox 1.5 level API. The supported host is limited to Outlook.
Currently there is no support for any other hosts to open and close taskpain. If you have strong requirements for this feature please consider up-vote the uservoice suggestion for Office developers.

instafeed help required to work on website

I am newbie to scripting and website designing. I am helping as well as getting hands on experience on my friends website. Earlier instafeed was working but since last couple of days its not showing any instafeed.
check the website. http://qminmagazine.com/
Please help me to figure out whats wrong.
Thanks in advance.
-Jitu.
So, a simple network capture throws the following error:
Error from Instagram: The access_token provided is invalid.
On June 1st 2016, Instagram rolled out new API restrictions, which limits users to accessing only their own content through the Instagram API by forcing each app into a sandbox. To get access to public content, your app must be manually approved by Instagram.
Chek Instagram's update from the 17th of November 2015 :
Instagram Platform and documentation update. Apps created on or after Nov 17, 2015 will start in Sandbox Mode and function on newly updated API rate-limits and behaviors. Prior to going Live, and being able to be used by people other than the developers of the app, these apps will have to go through a new review process. Please read the API documentation or the Change Log for more details.
Any app created before Nov 17, 2015 will continue to function until June 2016. After June 2016, the application will automatically be moved to Sandbox Mode if it wasn't approved through the review process. The previous version of our documentation is still available here.
With the new rules, having Instagram tag feeds of public content isn't an acceptable use case, so even if you try to get your app approved, it most likely won't. So, with Instafeed you can only get your own posts, severely limiting its functionality.
This GitHub discussion delves deeper into the topic and available workarounds.
How to submit for permissions review
Go to Manage Clients and select the app you'd like to submit for Permissions Review
Click the Permissions tab
Click the Start Submission button
Describe the purpose of your application and how you intend to use each permission

mixpanel not working in 2011 samsung smart tv but working fine in 2013

mixpanel is not working in 2011 smart TV I put Script tag in head that same code
working fine in 2013 TV
Is there any problem in 2011 to add Script tag in body??
Opps! finally found solution script tag copied from mixpanel has one url in it format is like ("//cdn.something.com") so that we need to replace with("http://cdn.something.com") adding http: will work coz in 2011 mappel engine TV not append it automatically but in 2012 onwards TV append it automatically
Samsung 2013 devices uses WebKit browser engine, Samsung 2011 uses Maple browser engine.
Check that Mixpanel does not use features unsupported in Maple browser.

Fanbox featureLoader script not found

I have been using the legacy Featureloader.js.php script for some time now without any problems at :
https://ssl.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php
For some reason this server seems to have stopped responding in the last day or so - i get a server not found response in Chrome developer tools -
We want to continue to use the Fanbox plugin, as it allows us to style the returned content appropriate to our site - the new likebox doesnt have that option
Wondered if anyone knew why that server is currently not responding, and whether it's simply a temporary problem or might be a permanent issue?
Thanks
From the Facebook blog:
Removing FeatureLoader JavaScript SDK. As part of the OAuth2 migration, we announced that the FeatureLoader SDK is no longer supported as of October 1st, 2011. On February 1st 2012, we will remove FeatureLoader. Please ensure that your app is using the JS SDK.
See here: https://developers.facebook.com/blog/post/638/ (under "Upcoming Breaking Changes on February 1st 2012")

Categories

Resources