Skip to content

Commit 32eadd5

Browse files
committed
emoji test
1 parent 8754a40 commit 32eadd5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
.rbenv-vars
2-
/charts
2+
attachment.jpg

tweet-client.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
config.access_token_secret = ENV['TWITTER_ACCESS_SECRET']
1111
end
1212

13-
image_kit = IMGKit.new('http://localhost:3000/charts/2016-08-20?rank=2',
13+
image_kit = IMGKit.new('https://ph-tweet-server.herokuapp.com/charts/2016-08-21?rank=2',
1414
zoom: 2, width: 2048, height: 1024)
1515

1616
puts "Saving the preview..."
17-
img = image_kit.to_file('charts/attachment.jpg')
17+
img = image_kit.to_file('attachment.jpg')
1818

19-
client.update_with_media('Image upload test', img)
19+
client.update_with_media('👍👏', img)
2020

2121
puts "Done!"

0 commit comments

Comments
 (0)