Posts

Showing posts from June, 2017

Enable scheduled push notification in Azure

The scheduled feature of Push notification hub in Azure is not available in "Free" and "Basic" pricing tier, and so if you need to send scheduled push notification message, then choose "Standard" pricing tier.

Windows.Security.Authentication.Web.WebAuthenticationBroker.AuthenticateAsync throws error "value does not fall within the expected range."

I used Windows.Security.Authentication.Web.WebAuthenticationBroker.AuthenticateAsync to perform Facebook authentication and it always works well. Refer to article https://docs.microsoft.com/en-us/uwp/api/windows.security.authentication.web.webauthenticationbroker However, it didn't work and throws error message "value does not fall within the expected range." recently. I verified the call back URL from " WebAuthenticationBroker.GetCurrentApplicationCallbackUri().AbsoluteUri" and found out that the Windows App Id is changed! So I updated the related Windows App Id in the Facebook App setting's configuration page, and now the authentication works again!