agermanidis / SnapchatBot

[deprecated] Python library for building bots that live on Snapchat
MIT License
517 stars 105 forks source link

Approving Story Posts #50

Open mavieth opened 9 years ago

mavieth commented 9 years ago

I was wondering if you had any insight as to an approach to approve posts to the story before they are posted to the story. I have a modification of the storifier bot up-and-running right now and have had a lot f success. Is there a way to hold on to the snap until it has been approved?

Thanks and I appreciate this great project that you put together.

agermanidis commented 9 years ago

Hey thanks, I've thought of making a web front-end where you can easily reject and accept incoming snaps but it's probably not something I'll work on in the near future. I think the simplest way to do it I can think of would probably be:

1) Have a script that saves all incoming snaps (like CaptureBot) to a folder 2) Manually accept a snap file by drag-and-dropping it to an "accepted" folder 3) Have another script that periodically checks if there any files in the "accepted" folder. If it finds any it posts them then removes them.

On Wed, Mar 18, 2015 at 1:54 AM, mavieth notifications@github.com wrote:

I was wondering if you had any insight as to an approach to approve posts to the story before they are posted to the story. I have a modification of the storifier bot up-and-running right now and have had a lot f success. Is there a way to hold on to the snap until it has been approved?

Thanks and I appreciate this great project that you put together.

— Reply to this email directly or view it on GitHub https://github.com/agermanidis/SnapchatBot/issues/50.

mavieth commented 9 years ago

Thanks for the quick reply. That seems like a pretty good solution. I am running it on a Raspberry Pi and was trying to get a couple scripts working that would text me the .png/.mp4 and based on my (yes/no) reply, would post to the story.

agermanidis commented 9 years ago

Ha! That's really cool. Would love to see it in action. In that case you can probably make it all work in a single script -- save every incoming snap, send it over SMS to the user along with the filename, the user can send something like "YES [filename]" or something similar back if he/she wants to accept the snap, then have a Twilio server listening for messages, creating a snap for every file mentioned and doing a post_story call.

phemaa commented 9 years ago

Is it also possible to add text over the images you approve?

N07070 commented 9 years ago

I have a commit pending for that, but it's hard to do it for the videos. Look at my fork, I added a bot supposed to do that.

mavieth commented 9 years ago

Awesome I will take a look. What is your approve or disapprove method?

N07070 commented 9 years ago

The shame of the user with his username put on the snap ? It's an old school method of naming people to make them assume what they say, or post.

jfach commented 9 years ago

This is something I have been working on within my own copy of this project. I'll make a fork once I've got it all down pat. :) EDIT: possible with AND/OR without Twilio! (clever use of googlevoice)