Morning Memefags. Any interest in this?
>MemeCannon
>>9191863 (pb)
[RR] ammo for today?
.NET Core, should run cross platform
It's just a small console app that looks in a specific folder for images, and posts them to twitter with hashtags. I organize memes in different folders X:\MemeCannon\Ammo\Biden, X:\MemeCannon\Ammo\Bernie and it builds a menu of the different folders. You select which folder/campaign to run
I've come across a fatal flaw in distributing this as a client app, my Twitter Developer keys cannot be secured in it's current config.
I have a couple potential solutions, but not enough time to work it out. It works now if you have a Twitter Dev account.
https://github.com/QCodeFagNet/MemeCannon
>what about chanigng out your keys?
Sacrificial lamb technique? maybe, I figure @ jack would just kill off the whole acct. It's NP to change out the keys and there's directions at the github. It even comes with a sample comey 3 meme ammopack.
4MB Total + your memes.
>do i need to download just the release and unpack?
Ya unless you have Visual Studio all set up and ready to build. Extract to where you want it. Find and edit the MemeCannon.dll.config so that it contains your Twitter API ConsumerKeyy/secret. In the source it's app.config, but that changes to [Executable].config when you build. Run MemeCannon.exe when you're all configured.
>how long does that usually take.
I had to wait a couple weeks, but that included going back and forth on the description of my app with Twitter not meeting their guidelines. YMMV. I don't think it matters what you are describing as your app, because once you are in, you can make more apps (10?) without waiting around. Codefag?
Ya I should probably display a message saying you don't have a key, but it's currently not like that. I'll put it on the list.
Be aware that once you add your Dev keys and run the MemeCannon it will encrypt the ConsumerKey and ConsumerSecret and update the MemeCannon.dll.config. This would then be a theoretically distributable version that works, using encrypted values from the app.config file.
CannonConfig.json : UserAccessToken and TokenSecret will be put in there by the app once you give it the OK. That's the keys that Twitter uses to auth your Twitter Account to the MemeCannon TwitterDevKeys
Yep you are almost there.
You could point it towards your own site, or you could create a simple wordpress site that you don't really use.
For my description I wrote something about wanting to experiment with the Twitter API to understand how it works. Analytics and trends. Was not going to be displaying tweets on my site, enable sign in. Don't worry about specific files being at the addresses, just point at the root.
Nice! Thx
>WE ARE HOT!!
Nice. Yeah I'll put some code in there to catch those exceptions and display. Mines all set up so there are no exceptions. You shouldn't have to mess with that config any more because that's the only thing saved in there.
If you are seeing the menu that means you are GTG. You've already auth twatter and so you are hot. It does save that in CanonConfig.json. If you clear that out, it will try to get you to TwitterAuth again with which ever twitter acct you choose.
Drop more folders/campaigns with images in just like the Comey sample ammo pack, edit the hashtags.txt with the hashtags you want to use in that campaign. It selects random hashtags up to whatever number you have configured in CannonConfig.json. C:\Releases\MemeCannon\Ammo\…
Try it out, tell me what you think and we'll MAGA!
Sounds good! If many of us get Twitter dev accounts, then it will be very hard to shut it all down. I have an idea on how to make it go securely, without users having to get their own Twitter Dev acct, but it's going to be a fair amount of work + some $$. I want to make sure that folks actually are interested in using this thing before I take that step.
This is in the next release. CannonConfig.json now contains some new values MinimumDelay and MaximumDelay. These default to 1 and 3. If you wanted 1 meme an hour, set them both to 60. If you want 1 meme every 5 mins, set them both to 5. Want a meme between every 1 and 5 mins, set them to 1 and 5.
There is a new val in cannonConfig.json : PingCount. This is the number of twitter users to 'ping' in each tweet. There's a new file just like hashtags.txt called pings.txt in the hashtags folder for each campaign. Works similar to the campaign hashtags, randomly selects up to total number of configured 'pings' for each tweet. This should be used with caution. Possible to over target/spam a single user with a combo of many memes and a single twitter user acct. There is a risk of having your Twitter acct banned/disabled/etc. I'm thinking about ways of making that more random so a single user doesn't get spammed.
Look for the new release out in the next few hrs.
That doesn't sound right. Has it posted all the memes in the campaign? It just won't start? The new version has better exception handling so you can see what's going on.
Critical for folks to get their own Twitter dev keys for it to really work. Here's my mitigation strategery: Online Tweet Scheduler. They exist now, and you can even use their services to a limited degree on the free.
https://twittimer.com/?r=f
I'm thinking I could build this out, online with a workflow style suited to anons and we could get around this whole API key. At that point the main concern becomes the Twitter rate limiting. Overshooting the rate limits can get the user account or dev account banned. 300 tweets every 3 hours/ per app. Each dev account can create up to 10 apps. I may have to build in some safety to keep folks from getting themselves banned. As configured, you can't tweet more that 60 tweets (at best) per hr so there is no issue.
https://developer.twitter.com/en/docs/basics/rate-limits
https://help.twitter.com/en/rules-and-policies/twitter-automation
Thx everybody for the help.. WR I'm trying not to spam the thread, but the codefags thread has slid off in a recent purge.
Just now!
Love the feedback QA anon! I don't know how many downloads exactly, since it's on Github, but there's been a bunch of clones, so people are looking at it.
X:\MemeCannon\Ammo[campaign]\hashtags\mentions.txt - Stores the '@' delimited list of twitter users to mention when tweeting. It's just a txt file Use @username@userName2
Glad it's working good!
1 TPH? You can def speed that up if you want. I set it to 1-3 mins and it runs for hours ~25 TPH, even over night. The basic idea is to stay below the Twitter radar, but be as noisy as possible. Twitter will have to find your app among all the apps out there. I know for sure that a stream of tweets, as fast as the Cannon can fire, will cause them to put your app on pause for a short amount of time. It's why I built out the random timing part. Retweeting the same text can also cause you to pop up on the radar, so make sure to change that up.
>anyway to target a twitter posting and comment?
Not currently. Lemme think about that. Been thinking about a 'Tweet Thread' option.
I got a fix for it not saving your CannonConfig.json with your Twitter keys after auth. Found that after setting up a new App/Twitter acct.
No, but I have been thinking about it a little bit. I'm not interested in spamming the board, or releasing anything that could be used to spam the board - but a #MemeHarvester would be handy, if you could work out how to classify or organize stuff.