Bodman Posted August 29, 2018 Share Posted August 29, 2018 For those who have experience with developing out a facebook messenger game bot. Have any of you created a bot that generates images dynamically via user profile images? If so, what is your process for this? Are you using node-canvas? Are you creating the image on the client side and then passing the created image to the bot for future use? How did you tackle this problem? Thanks for any insight you bring Example pingu 1 Quote Link to comment Share on other sites More sharing options...
b10b Posted August 29, 2018 Share Posted August 29, 2018 6 hours ago, Bodman said: How did you tackle this problem? Within a NodeJS environment I like to use PhantomJS for server-side image creation. Reason being that it works pretty much exactly as client-side image creation and is single dependency. If wanting to "off-world" the Phantom process there is the excellent PhantomJSCloud.com service. Quote Link to comment Share on other sites More sharing options...
Bodman Posted August 30, 2018 Author Share Posted August 30, 2018 3 hours ago, b10b said: Within a NodeJS environment I like to use PhantomJS for server-side image creation. Reason being that it works pretty much exactly as client-side image creation and is single dependency. If wanting to "off-world" the Phantom process there is the excellent PhantomJSCloud.com service. Great! Thanks for the input! I usually use node-canvas but it requires many non node decencies. I'll have to see about PhantomJS . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.