Skip to content

Instantly share code, notes, and snippets.

Reinaldo Braga reinaldob

View GitHub Profile
View gist:29af5ed2d7bcb8025100
module ConcursoCulturalVideoVagas
module VideosHelper
def botao_add_to_page
url_da_app = "#{FACEBOOK_CONFIG['facebook_url']}"
app_id = FACEBOOK_CONFIG['app_id']
"<div style='margin: 15px'>
<h3>App Concurso Cultural</h3>
<br/>
<br/>
View gist:a38edcc1dd9c0a4b6219
<section class='dashboard'>
<%= raw botao_add_to_page %>
</section>
<script>
$(function () {
$('#app_request').click(function () {
FB.ui({
method: 'apprequests',
message: 'You should learn more about this awesome game.',
View gist:ee1c6d999ef6b0be23dc
//nomustache
for(x in payload.shipment.items){
payload.shipment.items[x].line_number = x;
}
payload.shipment.status= "ready";
payload.shipment
You can’t perform that action at this time.