PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, February 11, 2022

[FIXED] Changing app id for Facebook login. Downsides?

 February 11, 2022     facebook, facebook-apps, facebook-login, facebook-php-sdk, php     No comments   

Issue

I'm working to fix the Facebook login for a website.

Apparently the login doesn't work anymore because the Facebook app is not configured correctly. Now, I'm having a hard time to get access to said Facebook app from the previous developers and I am considering my options.

Could there be troubles if I create a new Facebook application with a brand new app id? For sure users will need to grant access again but that should not be a major issue. Could there be other downsides?


Solution

There are a few downsides to changing the App ID, especially if the app was created a while ago. However, it's important to have control of your application, so these are just for reference:

  1. User IDs between old app and new app will be different (this is related to app_scoped User IDs, with newly registered Facebook apps)
  2. Permissions will need to be reviewed by Facebook again
  3. You will lose access to Graph API v1.0 if your app was created before April 30th 2014 (but this will be depreciated in April 2015).
  4. You will need to get your App Center listing approved again

Having made the above points, it's important to have control of the application. If you're not using a lot of extra permissions its recommended that you create a new App ID and update your application. If you have an existing database of users, their IDs will no longer correlate to the same user, so it's also best to start with a fresh Database, or find a way to migrate the data to the new User ID by matching Email addresses.



Answered By - Niraj Shah
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing