1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Login the user with Facebook without revealing the APP ID

Discussion in 'Facebook' started by MarPlo, Nov 17, 2012.

  1. #1
    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=...
    Code (markup):
    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?
    SEMrush
     
    MarPlo, Nov 17, 2012 IP
    SEMrush