Skip to content
Snippets Groups Projects
Commit 2f554762 authored by danielvincent's avatar danielvincent
Browse files

fixed error in status_messages_controller

parent 1139299f
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ class StatusMessagesController < ApplicationController
data = clean_hash params[:status_message]
if logged_into_fb? && params[:status_message][:public] == '1'
id, type = 'me'
id = 'me'
type = 'feed'
Rails.logger.info("Sending a message: #{params[:status_message][:message]} to Facebook")
EventMachine::HttpRequest.new("https://graph.facebook.com/me/feed?message=#{params[:status_message][:message]}&access_token=#{@access_token}").post
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment