Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<div id="fb-root"></div>
<%= javascript_include_tag 'fbconnect' %>
Auto-post on Facebook
<span id="fbusing" style="display:none;">using account
<span id="fbuser">
<a href="" onclick="'','_blank');return false;" ><%= @user.fbusername%></a>
<span id ="connectwithfb">
<a href="" id="fbconnect"><%= image_tag("facebook-connect-button.png",:border=>0,:height=>18,:width=>120)%></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.