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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.