I'm developing a facebook application and everything is going fine with log in and comments etc.
I came across the issue of 'reauthorizing' users. One of my users 'accidentally' pressed 'don't allow' when it asked them for access to their information and now they cannot sign in.
Does anyone know how I can reauthorize them?
Thanks in advance.
Edit:
It turns out that once I officially published the application the users' error disappeared. I'm pretty sure you aren't supposed to have work-in-progress published apps but that certainly solved my problem.
It should ask for permissions automatically. Try to tell him to do this:
Go to My account > Privacy settings
(I don't know the exact text of the
option because mine is in spanish).
Then, in the footer menu, select
Applications and Web sites
Next to Applications that you use,
click on Edit settings
Search your app and delete it.
Re-enter in your app and permissions dialog should appear.
As explained by manuelpedrera previously, after the user remove the application from their facebook account, he / she has to re-access your website and retry to login to your website using their facebook account. Once they choose to allow the permission, your app will again be added under their facebook account and everything should be back to normal. good luck mate :-)
Related
I ran an application that to have access, the user needs to log in, this application has multi levels of authentication, this application is a PWA too.
The problem is that when the user downloads the APP to the home screen it always opens on the login screen, but as it can be offline it will not be able to log in.
How can I do to keep it logged in? that is, when the user is offline or online go directly to their dashboard.
I read some answers about sessions and cookies, is it really the best way?
No react or angular or vue was used.
It took me a while to post the answer here, but it came.
Actually it was quite simple, just put in manifest.json to open the URL already logged in and solved my problem, of course it will only load if the user has ever accessed this URL according to my cache rules in the service worker, I suggest you try the same, if it doesn't work you can contact me that i can help.
I'm not so good in explaining my problems so if you find anything wrong I apologize for it.
So my problem is that in my web site I have 6 modules-super, manager, sales, cashier, technical support & client. If I open all of them in chrome or in firefox & login anyone of them it doesn't effect other modules. But when all of them are logged in & when I logout from one of them all of those modules logout.
This doesn't happen while login but why it happens while logout?
I cannot post my code, sorry.
Whatt should I do?
Any help would be great.
Thanks.
Edit: I forgot to mention, but my website is running on localhost. Its not online.
It's likely that you're storing a single login token for all sessions logged in and when the user logs out, that token is removed and revokes access for each browser. It would be better to set cookies to maintain login state.
Since I can't see your code, I can't give you a more specific answer.
I have a situation where I need to be able to make calls to my Facebook App from 2 domains. Previously everything has come from www.domain1.co.uk but now I need to change my Website platform url to www.domain2.co.uk.
In accordance with this qu and answer (Facebook login with multiple domains.)
I have added a dummy canvas page (no page tab tho) which has been assigned to www.domain1.co.uk and changed my website platform url to be www.domain2.co.uk. I have then added www.domain2.co.uk to my App Domains.
So my App Domains are now www.domain1.co.uk and www.domain2.co.uk.
Currently the Facebook Login function still works for my website # www.domain1.co.uk but not # www.domain2.co.uk. I made the changes a good 5 hours ago.
I use Login with Facebook and Register with Facebook via this app. Client OAuth Login and Web OAuth Login are enabled for this app. There are no Valid OAuth redirect URIs stored.
Could anyone point me in the direction of what I need to fix here please?
Many thanks.
Kind Regards
Liz
Okay intensive investigation has revealed that it helps to make the changes to the correct app.
The changes kicked in immediately at that point.
Apologies for any wasted time.
I'm trying to upgrade an integration with the Facebook Graph API from version 1 to version 2.0, but I'm facing a problem: The permission publish_actions is not being shown in the dialog for granting.
I'm doing it manually (without the JS SDK).
PHP code:
header('Location: https://www.facebook.com/v2.0/dialog/oauth?client_id='.$appID.'&redirect_uri='.urlencode($callBackUrl).'&scope=publish_actions,offline_access');
exit(0);
Does anyone know what is happening? I've been looking for a solution for hours. As I already said, I had a working app at the Facebook from the previous version, and the Facebook API didn't show me any alert.
I assume that all configurations are correct, or at least they seem to be.
Currently, the Facebook requests reviewing your app when it uses non-basic permissions like "publish_action". If you need to use these permissions, you will need to submit your app to be reviewed by Facebook's team. Only after that the permission will be shown to your app users.
For submit your app, access your app at https://developers.facebook.com/apps/, and after clicking at your app button, click at the button "Status & Review" at the left menu, fill the form and submit it. Within 5 business days you will be notified about the reviewing result.
Another thing that has changed is that non-basic permissions are only shown to the user after he approves the basic permissions.
Furthermore it's allowed to use your own user to test the app (with all permissions, including non-basic's) before submit it.
I have an android app on Google Play and also an website where.
For the moment, I am using javascript to detect if the device connected to the website is an android device. If is, I am displaying a popup dialog on the device inviting the user to download the app from the PlayStore. If the user clicks ok, he will be redirected to the PlayStore page of my app, I f he clicks no, he will continue using the browser.
Now, the problem is that when the user have installed the app and tryes to access the webpage again, he will be asked again to download the app, even if he allready installed it (which is not a good idea).
Do you know a solution on how to check if the user has allready the app installed on his mobile device?
It is also possible to do android detection with php, so if you have a method with php to detect if the app is installed, I can also use it.
Thank you very much.
I don't think this is possible for security reasons. I would not want some random website I visit to be able to access my phone Package Manager and find out what apps I have installed.
This would raise a lot of privacy and security concerns.
But I saw one answer that might have a different way of achieving your intent that might be useful to you:
https://stackoverflow.com/a/12901352/1369222
Even if the user doesn't install your application, your web site shouldn't ask more than one or two times to download your application from the PlayStore. The usual way of doing this is to use the browser's cookies in order to remember if it's a new visitor or not. It's not full proof because the cookies functionality could have been deactivated but at least, you won't have to worry about this problem for most of your visitors.