Facebook javascript SDK works with one app id but not another ...

I suppose it's your application settings, most likely the Site URL. If this does not match your domain that you are running the SDK on, it won't ...

Lee mas