Skip to content
Permalink
Browse files

Post image URL instead of blog post URL

  • Loading branch information
Roach Roach
Roach authored and Roach committed Dec 1, 2013
1 parent bf0a104 commit 12311ba3c82d32009b0706a44c6057860c12163a
Showing with 1 addition and 1 deletion.
  1. +1 −1 daemon.js
@@ -126,7 +126,7 @@ function postFromQueue(){
body: "<a href=\"" + url_info.url + "\" target=\"_blank\"><img src=\"" + url_info.url + "\" class=\"inline-tweet-media\"/></a><br/><a href=\"" + url_info.url + "\">Source</a>"
}, function(err, post_data){
var post_url = "http://" + config.tumblr.blog_url + "/post/" + post_data.id;
sendTweet(post_url, function(tweet_id, tweet_text){
sendTweet(url_info.url, function(tweet_id, tweet_text){
var msg = timestamp() + " Tweeted https://twitter.com/" + config.twitter.screen_name + "/status/" + tweet_id;
log(msg);
sendDM(url_info.user_id, msg);

0 comments on commit 12311ba

Please sign in to comment.
You can’t perform that action at this time.