Google Ads don't show after enabling Cross-Origin isolation - adsense

As you know the coming version 91 of Chrome will require web sites to enable cross-origin isolation for sites using SharedArrayBuffers.
Following the advice of Google (https://web.dev/cross-origin-isolation-guide/?utm_source=wnc_20146204&utm_medium=gamma&utm_campaign=wnc_20146204&utm_content=msg_110404023&hl=en)
I have set the required headers:
Cross-Origin-Opener-Policy: same-origin and
Cross-Origin-Embedder-Policy: require-corp
But after that Google Adsense Ads don't show on my site. To be exact only an empty box appears where the Ad should be shown.
SharedArrayBuffers are not used by my own application but by third party libraries I don't have access to, so I can't avoid using SharedArrayBuffers.
In summary, if I don't enable Cross-origin isolation then my site will stop working in Chrome 91 and if enable it then Google ads won't show.
I have posted this issue in the Google Adsense community but I have got no answer. I hope someone can help me here with some suggestion.
Thanks!

If you are not using SharedArrayBuffer yourself and you have already identified the third-party resource provider who actually uses it, please ask them to fix the issue. You don't need to enable cross-origin isolation yourself unless using SharedArrayBuffer is essential for you.
In many cases the third-party usage of SharedArrayBuffer is trivial enough to ignore because the same code has been working on browsers that do not support SharedArrayBuffer in the past.

Related

Facebook Continued Flow Lead Ads: How to get whitelisted?

We'd like to use the Facebook Continued Flow Lead Ads API. Integrating it into our website was quite easy. The Continued Flow Test Tool was helpful.
The last step missing is how to integrate our endpoint - the Follow Up URL - in campaigns.
In the Facebook Continued Flow Lead Ads API, the documentation says that
This feature is available by whitelist only.
Since Facebook's support doesn't provide this information, maybe someone over here can help me?
How does one get whitelisted?
As far as I know you have to go through an internal process with a FB account manager or one of the technical managers of the Lead Ads project to get your ad account whitelisted for continued flow use. I checked if this might be exposed on the FB App Review process but it's not yet, so I recommend contacting your account manager if you have one or otherwise trying to go through FB support.
in order to be whitelisted you need to have:
Managed account
$50K+ monthly spent
You can apply through this link which is available publicly - https://www.facebook.com/business/standardadsapi

Sitecore Social Connected will not connect with Facebook as publish_stream is deprecated

I am trying to connect Social Connected to Facebook using Sitecore 8's (rev 5) Social Connected functionality (we are unable to use Komfo for budget reasons) however i've had a few issues. I was following this walkthrough from the Sitecore documentation site.
I was getting this error when trying to connect a Facebook account:
"Invalid Scopes: read_stream. This message is only shown to developers. Users of your app will ignore these permissions if present.
Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions"
So I went ahead and did some reading and found this Stack Overflow question
which from the information there I was able to find that the particular permissions that Sitecore is asking Facebook for are deprecated.
From there I changed the permission from publish_stream to publish_actions and was able to give Sitecore the permissions it needed in Facebook. The problem is that Sitecore wanted this to be done in the browser window it provided, and so it did not acknowledge that the permissions were set in Facebook, even though they were.
I then tried to manually add a social media account from a template, hoping to input the data it would need manually now that it had the appropriate permissions. However after doing this Sitecore then started to throw an error when adding other social media accounts:
"The Social Connected Module is not configured.
There are no social networks available with applications that you can use to create an account."
Social connected is in fact configured, and before making these changes I was still able to add other social media accounts. Recreating the Applications solves this issue but puts me back at square one.
Any ideas on how we can rectify these issues would be greatly appreciated.
I managed to get around this issue. First, in the content editor, I created a Facebook application under System/Social/Applications. Then, I created a social media account under System/Social/Accounts for LinkedIn and then duplicated it, changing the configuration to suit Facebook.
Once I did this I was able to post text posts to Facebook and Twitter. I was not able to get image posts working, and by this time, we abandoned the idea.
It's worth noting that Sitecore continued to push us toward Komfo. It's pricey and is essentially an iframe placed in the Sitecore UI with limited functionality. There are other tools out there that will give you similar analytics features for a fraction of the price.
It's also worth noting that the social connected functionality in Sitecore 8.1 appears to ask Facebook for the correct permissions, so you wont have this issue. I cannot vouch for its functionality in terms of actually posting as I haven't fully tested it.
Fortunately, Facebook permissions are only string and you can easily modify it using reverse engineering. It was done for Sitecore 7 version, but I think same approach will work for Sitecore 8.
Also, you are able to create a ticket in Sitecore support and they will provide you hotfix for this issue.

Creating a non-web-view-based sign-in screen for Microsoft SkyDrive

I am trying to implement a sign in view like the one displayed below to allow users to sign into their Microsoft Live account and then allow the app to pull down their SkyDrive data.
I have been reading the API documentation at msdn and it seems that the documentation is centered on you using a standard web UI login form which I would like to avoid (pictured below).
So I am looking for documentation or an example of implementing a custom login form to login to windows live to get SkyDrive data. Any information would be extremely helpful as I am pretty stuck.
Note: There is also an issue open on github regarding the this same topic.
After doing some digging I discovered that microsoft will only allow you to log in using OAuth 2.0 through their interface (pictured above). What I originally wanted goes completely against the design of their SDK and isn't/wont be supported.
According to an issue posted on github, there may eventually be a way to allow authentication through the Skydrive iOS app. As of now however, there is only one way to authenticate, through their SDK or API.
This is also stated in the documentation:
Your app must initiate the sign-in process by contacting the Live Connect authorization web service.
Resources:
Documentation
Github Issue
LiveSDK-iOS

How does the browser plugin Disconnect work?

I've recently installed the browser plugin Disconnect to keep Facebook, Twitter and Google from recording my browser history as I use the regular web while still letting me use those services when I choose to.
Can anyone explain how Disconnect works?
I'm interested in how it works to understand where my web experience might be changed or compromised and as an intellectual curiosity about what these sites are doing and how it can be blocked.
There are detailed descriptions of what our extensions do in the extension galleries (and someday soon, our site), e.g.:
https://chrome.google.com/webstore/detail/jeoacafpbcihiomhlakheieifhpjdfeo
More technically, all our extension code is open source (and well commented and otherwise readable, if I do say so myself):
https://github.com/disconnectme
I'm only guessing, but to track you, google, facebook and twitter send you a cookie to identify you. Then if you browse the web a display page that contain an adsense banner, a g+1 button an analytic script, a facebook/twitter widget, google , facebook and tweeter access this cookie.
So to prevent them to record your browsing, maybe the addon filter the cookie sent in http request or filter google/fb/twitter script/iframe/url from the viewed page.
Hope this could give you a hint.
Regards

facebook graph api error You are using an incompatible web browser

i'm trying to display my facebook group wall on my external web page and it gives me the error message..
You are using an incompatible web browser.
Sorry, we're not cool enough to support your browser. Please keep it real with one of the following browsers:
*
Mozilla Firefox
*
Google Chrome
*
Safari
*
Microsoft Internet Explorer
My code for checking the returned content is as follows..
echo(file_get_contents('http://www.facebook.com/groups/GazelleAB/'));
Can someone please tell me what else i need to get this working. I'm using PHP.
sowi guys i'm using Firefox 3.6.15
I sugest you use the Facebook Graph API for Groups rather than trying to scrape the data you want.
It's possible that this seems to be a case of your firewall, whatever kind you are running, trying to protect you from some transaction that is required by Facebook. For Symantec Endpoint, for example, go to Network Threat Protection -> Options -> Change Settings and under Stealth Settings, remove checks from all 3 boxes. If it's a different firewall, look for some setting that might be filtering out what Facebook needs. (Symantec, at least, does warn you in the Settings box that enabling these settings may interfere with using some websites.)