Jump to content

Login The User With Facebook Without Revealing The App Id


MarPlo

Recommended Posts

Hi,

In the Facebook documentation about Login the user with Facebook APP they say:

 

"Because it requires you to include your App Secret you should not attempt to make this call client-side as that would expose this secret to all your app users. It is important that your App Secret is never shared with anyone".

 

I understend it is about APP Secret, but what about the Developer ID?

The developer ID is added in the URL address of the window for login the user with Facebook:

https://www.facebook.com/dialog/oauth?client_id=APP_ID&redirect_uri=...&state=...&scope=...

The APP_ID can be copied and used by anyone.

I tryed with Javascript SDK, and with PHP SDK, but in both cases the developer ID appears in the address bar.

I tryed also the get and display the page from that URL address using cURL, but of course not works.

Is there any way to login the users in my web site using Facebook, without revealing the developer ID?

Or, it doesn't matter if someone uses your Facebook APP ID?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.