Sha256: ff6cbe27a0e2191ab1bada444f863f101232bd9f40e7ae7ba50b248de242e070
Contents?: true
Size: 392 Bytes
Versions: 5
Compression:
Stored size: 392 Bytes
Contents
<% fb = SharingTags.config.current_context[:facebook] %> <% if fb && app_id = fb.attributes[:app_id] %> try window.fbAsyncInit = -> window.FB.init( appId: '<%= app_id %>', status : false, # or v2.0, v2.1, v2.0 version: 'v2.3' ) @SharingTags.FacebookShare.init() catch error console?.error("SharingTags.FacebookShare.init error: #{error}") <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems