I am trying to integrate Facebook Login in my Sencha application.
The problem is when I click on facebook login button which calls the promptLogin() function of Facebook, facebook login screen is not popping up but at the same time when I pause the application and resume back to the same, it pops up. I am using Facebook-cordova-plugin
Can anybody help me regarding this?
Related
I am working on a .NET web app, I have recently added Toast notifications and I'm stuck at trying to make the toast messages stay after refresh or redirect...
I thought about copying the Toast HTML to the page that shows after refresh or redirection but I don't know how to do it...
would love some help with the process, thanks ! (C#/VB .NET)
I tried creating a javascript function to copy the toast html after the onpost method and copy it to the next page but I don't know how to do it...
When the application session times out, I display a dialog to the user saying "The session is about to timeout" and I display 2 buttons on the dialog "Signout" and "StayLoggedIn".
Along with this dialog, I display a desktop Notification to the user which warns the user about the session timing out.
When I click on the 'SignOut' or 'StayLoggedIn' button on the dialog, I need to close the notification too along with the dialog.
I am using Notification.close() to close the notification.
The Notification closes fine when I click on the dialog buttons when I just have one application tab open.
But if I have 2 application tabs open(eg - google.com,google.com) and click on the dialog buttons in one of the tabs, the notification.close() gets called but it does not close the notification.
Anyone came across similar issue? I am stuck. Need help please. FYI I am on Chrome version 78.
Every tab in chrome is a new process. Windows 10 is process isolated with toast.
The toast created in process A can not access a toast created in process B and vice versa.
Toast notifications usefulness came and gone with the focus assist feature. So honestly I would skip using them in any new app.
My problems is kind a strange. I created facebook app, to which I connect via js through iFrame. dummy link : http://kvizblic.com/test/koliko-staro-izgledas
I plugged that iFrame on other subdomain of the same site, and everything works fine. But when someone share my quiz on facebook, and you try to open the quiz through facebook app(not browser), and click on "Login with Facebook" nothing happens. This happen only on iPhone. If I try to do the same thing on android or desktop, everything works fine.
Maybe this is confusing, so once again.
My quiz is loading through iFrame on other subdomain of the same site. Quiz have Login with facebook button. When you click on that button, I contact facebook for your data via js "FB.login" and everything works fine.
But if you visit the same link through facebook app(after someone share it), and not browser, Login with facebook doesn't work. That happens only on iPhone(haven't check iPad). On android everything works fine.
I am very new to AngularJS, I am working on web based project using AngularJS.
When the user logs out of the application or when user clicks the browser back button application is going to previous page.
Can anyone show me how to restrict the back button after user logout?
I tried
$location.replace();
And I tried
Window.history.forward();
But I am not able to work it out. Can anyone please help me to achieve this?
Simply put: you can't control the browser history.
I'm working with Facebook website integration and what to show a customized Facebook share dialog when clicking the Facebook delivered share button.
So i basically want a Facebook share button to call a JavaScript invocing the FB.ui() onclick instead of showing the stock dialog.
Is this possible?
Feed and share Dialogs
I think this question also have make by other before this.. check it Run Twitter and Facebook Share Button Code After ListCtrl Update