How “share” functionality work and how to get my Facebook App ID?
- Ready avatar may be shared as image on Facebook and Pinterest only. Twitter doesn’t allow share images at all. Google Plus needs a static image which it can grab from HTML code on your page. Due to dynamic nature of generated avatars it’s not possible.
- You must have your unique Facebook App ID for share function works. You can register your site and get an App ID in Developers section here
- After creating new App you will see App ID field. You will need to copy that value to facebook_app_id variable in my script after purchasing.
- After that on Facebook App page click Settings, then +AddPlatform, choose Website in modal box and fill Site URL field. Then click Save Changes. If you will not specify your site URL an error might occur when your visitors will try to share an avatar.