tmort / Socialite

Other
1.68k stars 163 forks source link

Ability to provide facebook application id #18

Closed renchap closed 12 years ago

renchap commented 12 years ago

On https://developers.facebook.com/docs/reference/plugins/like/, I can choose an application for my like button to be related to. It is simply appended after the JS URL :

  js.src = "//connect.facebook.net/fr_FR/all.js#xfbml=1&appId=<id>";

It would be great to have a way to specify it in the Socialite load call (or before it).

dbushell commented 12 years ago

Hi Renaud, thanks for the feedback. I'm currently working on a major update and it will indeed make this possible. It'll have more options and events to hook into.

dbushell commented 12 years ago

In Socialite v2 this can be done with:

Socialite.setup({
    facebook: {
        appId: 123456789
    }
});