These are chat archives for developit/peach.cool

13th
Jan 2016
Jason Miller
@developit
Jan 13 2016 00:30
@ummjackson any chance you figured out how to check comments for a given post ID?
Jackson Palmer
@ummjackson
Jan 13 2016 00:58
comments!! omg i need to do that
although wait... do they not get passed through as a comments array on each post
in the /stream
Jason Miller
@developit
Jan 13 2016 01:12
yeah
realized that
the weird thing
is they don't get returned from connections (/explore)?
I was using the cached stream from that as a hack to show profile streams, but that doesn't include the comments so I had to kill it
will probably render it initially but then force-request the full stream
hmm
any idea how to post a comment?
Jason Miller
@developit
Jan 13 2016 01:45
eek
so it's not post({ type:'comment' }) lol
that just breaks peach.
Jason Miller
@developit
Jan 13 2016 01:56
boom
POST /comment
{
    postId: 'fe9a1568d61c4b26ab06d1b5bef17e7a',
    body: 'hi!'
}
Jason Miller
@developit
Jan 13 2016 02:13
time to figure out avatars.
Jackson Palmer
@ummjackson
Jan 13 2016 02:27
avatars = hard
there is some sorta ID generation going on in the app
then it posts to S3
but it sends a signed hash to S3 based on a SHA256 certificate
which must be embedded in the app
so there's no way you're uploading to their S3
Jason Miller
@developit
Jan 13 2016 02:39
lol
i am uploading them to imgur
"who cares! :D"
Jackson Palmer
@ummjackson
Jan 13 2016 02:50
hahaha true
Jason Miller
@developit
Jan 13 2016 02:55
comments and avatars done :D
Jason Miller
@developit
Jan 13 2016 03:22
@ummjackson just deployed, check it ooot! :D
Jackson Palmer
@ummjackson
Jan 13 2016 04:06
nice!!
where is add friend?
Jason Miller
@developit
Jan 13 2016 12:51
ah
good point
i have been having success with POST /comment
Jason Miller
@developit
Jan 13 2016 15:20
Jackson Palmer
@ummjackson
Jan 13 2016 15:37
yeah it should be /POST comment
:)
Jason Miller
@developit
Jan 13 2016 15:43
schweet.
Jason Miller
@developit
Jan 13 2016 15:58
peach-post-types.jpg