{"_id":"@alpha-manager/fb","_rev":"7-b179f7c73e9a3789ae61162be23effe4","name":"@alpha-manager/fb","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@alpha-manager/fb","version":"1.0.0","description":"Simply require this module, configure it, and pass it to alpha's .to method!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"AndiTheMudkip"},"license":"ISC","dependencies":{"facebook-api-video-upload":"^2.0.1","fb":"^2.0.0","xtend":"^4.0.2"},"_id":"@alpha-manager/fb@1.0.0","_nodeVersion":"10.15.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-xU4cUJcu0cSQQBXxP+rGPrTkEgD1J2o2MMdqGKDJXC6qEfxwzCua4NRqzycSd2CmO69ziuQXVEotLtI57OtL+A==","shasum":"147812de19dde74b7918d9036127c2cd92083577","tarball":"https://registry.npmjs.org/@alpha-manager/fb/-/fb-1.0.0.tgz","fileCount":2,"unpackedSize":17459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddmWZCRA9TVsSAnZWagAARzoQAJy8xD8XboBmmLisx7rO\nQE+UaPX0na/gq0Y/Y/dkBXQckq8V8BCpvLmv1nQWCpgdmH4ABqLqofWPLG3n\n1vZRwN24Wg6UUr7uF6VhJ/uT7DIghTCV6722WtzAE437kxwnIn6+vcf2W4nY\nv3dHyqrbFUJosY/8+ZivKH0y1OCsoIzP+HRbr9NTDBnn0u6zH0X9oE221/Nt\nmahAJiUZWUCidax6DGZDi0ZfZZbpRUFXyh+TXFQ94Eit2nfxBDkNtLn3tk1Q\npZAGFtjLqtU18Jry1cYgDKFQ/T/BYnMMJszEgw1JnSRz6slPiZhHtdyXli1E\n2zHfAgg8i8WtCDfk3H7/WH4mh0D1fDfKdRFo/4iA1CCKx4WRo+mNKjgQnk8O\nxb7OL200qJyaznVxRRLxPpaPPs8o9keNbQhPfU4dTlnEaQ1XvxKzi/jJOjEe\n5ELpPIt8VkjbutboDdmJx0znjps01MgGBY94Ir7aSvqoZYv59E3vfk+x5joz\niRWE0vkMHGvJUTlu788Q6aRmtqO7m5mc9DQLr3fM82JkmXnnPhOlWcw0F7sx\nZnGwdfkJ8TriNSuz9UgHIxslP/kLupcb5BwDP2m6ffSk0f2oun+Jo69zOG/H\ng99hxP1wUZ0jlu/poh3mJKHZqV+0ykNk4d5y95VP31WsW2T33epP94MAzQwg\nBEgE\r\n=EYBh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBnwsCAZ87aJon1q3zrvpZ2N2uAseTb99VotDiubiGb4AiEA+LzsVIvazO4vHtFYNXGM8sfnarENBVF62esZHAmU+ls="}]},"maintainers":[{"name":"andithemudkip","email":"andithemudkip@gmail.com"}],"_npmUser":{"name":"andithemudkip","email":"andithemudkip@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fb_1.0.0_1568040344449_0.7764931020202297"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alpha-manager/fb","version":"1.0.1","description":"Simply require this module, configure it, and pass it to alpha's .to method!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"AndiTheMudkip"},"license":"ISC","dependencies":{"facebook-api-video-upload":"^2.0.1","fb":"^2.0.0","xtend":"^4.0.2"},"_id":"@alpha-manager/fb@1.0.1","_nodeVersion":"10.15.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-3RMXkzY1ZCy9McA6b8gSsGUD9/WBPbS4HHdl1ZUFmgkc868a2YVuG7hvVZSD9e9waOu0M6xlf6GATf4o9w2GiA==","shasum":"7067d1094a3a5ca6545afaf3c999e921e5dc267b","tarball":"https://registry.npmjs.org/@alpha-manager/fb/-/fb-1.0.1.tgz","fileCount":3,"unpackedSize":17475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddmXsCRA9TVsSAnZWagAANzUQAImt+VRW8G0VwieugXv9\n1Pw8PVzBsgPp/xNrzbVjHoJLZgVuMhVEqGGjRaScsZf+ry1CfSlZDx4yxhLr\n0m0n3IxggU7eBHSrgWJNCauJnzx10p4B8FGOosZh7+1q4GIwEJooG/Tl2mBc\nU42owZpnI7q5cZUmzXfN701hrUrE52U8DgOOBQ/iBYUmoYguggyLmsFNWtMq\nDig+H+WJkZOSlrfS5/HcH89eogEqqrrpMWObhW7MhDHF32b95bu39H/OlqoR\nyhCgPCkJ6aIZZmi8QWeTX22Ge5nmSjxe22T00SzqUcMl1pS/4gbzngznFuZW\nAAyYLak4hFJDJqzMhBgUXi/S33qUDfoGJzrNvTV04dlVI8RK9SHolVYQsdc6\nB+hmrZrBsZN+yVNOIbONwd9lpYrYUmkqlvHiJF4hfXj569GFqSW6z+GqCP3G\nAr0YhbbUH+/E47ehLdFQurjvOKfgUn3rXU7fuNKNEsiAv6EmCPcaPICH1i7J\nzUeZVYvxA9AKyhB1cGVnO99dzKyA5wQQptGgQE76wcgvdjjpM4Xnr1rvL8WK\nQZBbfwjq9XB9D7PQhygZAWooozs/x2mCSg7xCcB6bL6IDzQQlWRSOVg13exa\n55uwEDD2hvaTbKRa6AZt3YE0KR+jQfDCXEA+wmuo2k6Bleo8KimDhvDLDB9G\ngqNy\r\n=E+cs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtT1xBSzO/uHeRR9dlhDtOo9XL+3yMzGPHXl7qaTVQtgIgDdf6AuHERuvB/FjxL81LFoFqu9I68LyUk20d/ESDPnY="}]},"maintainers":[{"name":"andithemudkip","email":"andithemudkip@gmail.com"}],"_npmUser":{"name":"andithemudkip","email":"andithemudkip@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fb_1.0.1_1568040427177_0.36391419156278215"},"_hasShrinkwrap":false},"1.0.2":{"name":"@alpha-manager/fb","version":"1.0.2","description":"Simply require this module, configure it, and pass it to alpha's .to method!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"AndiTheMudkip"},"license":"ISC","dependencies":{"@alpha-manager/core":"^1.0.1","facebook-api-video-upload":"^2.0.1","fb":"^2.0.0","xtend":"^4.0.2"},"_id":"@alpha-manager/fb@1.0.2","_nodeVersion":"10.15.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-JZuSbRJWtMI6axoTvY6CX6v00FNWlIssRLA+A66pBA+P7zYV2vMQlKvP/0haSOjvDk2H2UfTDb0D20eKgpTNsQ==","shasum":"ef1a4280ea18f1db5da869413ced913b2d416f68","tarball":"https://registry.npmjs.org/@alpha-manager/fb/-/fb-1.0.2.tgz","fileCount":3,"unpackedSize":17556,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJde4B/CRA9TVsSAnZWagAATpoP/RJntnaR60ghUpSpOq9L\ni3OCJVKaRO/j8cjSCm2VGYf8YIhUOL9hjXIQvHRBogtSSE4ktgGiuGRz0ORQ\n2f7QTIY1M1VFx4NVWlZdzxgXW+c9N9Zph7n9bg6LOHV0xHeFfYpSwdHT6wHd\n07MGcRHdoxCT6DoqGk6y2XVa9N5g8jhPfS6Zy7hDllrKuruM3ES4mqmXX77r\nlTMHROzsHL94DNcez9H4yoHYHgmkMZ4/NvdHoO8nAhsFXuBy/g9bCNXZ4dNu\nYI7zPMdK3KwoAkDYxb+1O1YKdC8b3uCWTOzXFzQD4utmpbOZCRrVVpvHWfFv\nbWZ8sDPH9Kz7AuVYamxhmQn4tiAErKSGqdlvchblaA3brV8qBrrufKXeU0YK\nzt9t1n85q6/TwaWKBqpTsIqiLwMduKr3KWbjOWL8X4iB59X0vCl6H75XguyA\n0jr7Z/vuv56KBpAzLrTZao5h4lWtExD/ZF6Wm38eiiaJ8MZL4UC97RRn5zfW\nFf3r5Zyd+q48GfHJ9M9/HT3jptjnzGpb2dj0fCzqeABTCH3jy95izSiA1cXH\nm/ehbHLZZH11AQkGHaY5uCZVaNIzasYfI46rFZkswzBagXJe3/fBq3MS/msi\njH9baioC/5u5V7ibQdwFia5px656hmFEzDmPXvfK7C4sXlOU2YDLHH9xTQcd\n+OMc\r\n=/BNe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE2mLxB6v8YGnWRUrNP9u741LRVJe9FQCN4iTiVjA18PAiB/NZwSdNcMR/q42bCgDA2SPARIhaQpepcK1VbSurNmLw=="}]},"maintainers":[{"name":"andithemudkip","email":"andithemudkip@gmail.com"}],"_npmUser":{"name":"andithemudkip","email":"andithemudkip@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fb_1.0.2_1568374910683_0.2718446764534448"},"_hasShrinkwrap":false},"1.0.3":{"name":"@alpha-manager/fb","version":"1.0.3","description":"Simply require this module, configure it, and pass it to alpha's .to method!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"AndiTheMudkip"},"license":"ISC","dependencies":{"@alpha-manager/core":"^1.0.1","facebook-api-video-upload":"^2.0.1","fb":"^2.0.0","xtend":"^4.0.2"},"_id":"@alpha-manager/fb@1.0.3","_nodeVersion":"10.15.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-ELPOekGNqRMP26PdP4TVEJCFMKzJ2u2Gy5NU5iHTYLpkNWv6N9cxY004zYLEki3NJpla7mrxFw/qm4pN0Xjs8w==","shasum":"cbcee47367732c730773f1589fed42c7ddfb47c8","tarball":"https://registry.npmjs.org/@alpha-manager/fb/-/fb-1.0.3.tgz","fileCount":3,"unpackedSize":17665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJde42WCRA9TVsSAnZWagAAlLsQAIAmqM8/XWkcqjrkyZem\nYoOBOL5YDUz5HDBIgdWeNcalaHmYir31L95atKLgUBx6kz0OAuLGctpTmeuM\nWmUUu4LXmJgONK61DH37zVtBXr++YcnAjevNrIgYtHqsmCQKe6Ut2XtKLiHv\nUJFedvFGe+ZMdYv+nS5qeWkS0tI3Pb4smIub41UnrKt1UcRpkl/Lm8tAM1YD\nWNn45/5PjWmk07IkMIkWYVqc0HiBZw3/N23EL1+Jw/CrCN4qWjjpGLeZpFGS\nM+8HB0DjDH0ZIEYsG/Et/MVr6y5GP8gduV68EjMP5AziZIAHAiuLr20PT0wR\n79OmFxYDVAZ2fxkPNexuQxsCreshv/n37h4NVHyCJ8qUQ7J/3bNw+jJQYIYC\nb8hRMerRVaMKAKF9+qhkICXxn2m2BcB1ZYFF1tmCBB8YUwI5TNH3gxQUR6ky\nVyrV8L4pQZKrbJeN2NerquvPTrp4LIpMLqxYNjxeOIy27PTx/x2RFMjvT9RI\nQ7nvA2VEW7LZ/8ZQ4nola0rgcBx1szMAcU0xDONUdNN7qLn0UT2KZGdsSW6F\nYnToPTvZ7BS4ZlEUMYHk6y4CHEcyhB8KeOpRQ9F3w32jeBL87Bz/nzmD1cuG\nSxsGxkNZEO28bwiy/Q82IFnEja+k8eCFYBw9ItiZAOo0GulLOMUNbPZ6+IHU\nGW9u\r\n=Azsd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUfr/9SD16rKLhE4bJtSKSkwFFtBpVO7XBVIxkhDKvvAiEAq0YK+XrERoxNcAlsUtM46D4zS/2C7XTYuHyHfZQkUKA="}]},"maintainers":[{"name":"andithemudkip","email":"andithemudkip@gmail.com"}],"_npmUser":{"name":"andithemudkip","email":"andithemudkip@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fb_1.0.3_1568378262045_0.16162371116423713"},"_hasShrinkwrap":false},"1.0.4":{"name":"@alpha-manager/fb","version":"1.0.4","description":"Simply require this module, configure it, and pass it to alpha's .to method!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"AndiTheMudkip"},"license":"ISC","dependencies":{"@alpha-manager/core":"^1.0.1","facebook-api-video-upload":"^2.0.1","fb":"^2.0.0","xtend":"^4.0.2"},"_id":"@alpha-manager/fb@1.0.4","_nodeVersion":"10.15.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-/8eY1M2M7vt8gFtBxm4nAqImvn19odw81js+LgE7XuH09V1SVIaAUgKMl860eEw9UOr8tyUxI1ua+7VdLLOi4A==","shasum":"ec90b378fe98e1a77e238718fb7cf6956aefb11a","tarball":"https://registry.npmjs.org/@alpha-manager/fb/-/fb-1.0.4.tgz","fileCount":3,"unpackedSize":26020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiSaACRA9TVsSAnZWagAA3gcQAJNtD/uwFTYzt0dIXYfw\nlFFPZrijFXvkiXtLwJNkH5q7/gmhu/y1vgBGDAPF+lT5YXFo/XYEbPgCo3iU\nvwXNivDMrjbm1C/1EcdKSXQVo6Iq7TXXnB3G4ua150cFlfo/RR0tLZSsMHkL\n+Idcmre2W9IT5K9kx6xtjKenUzAKan3sUUWRlJWGYKRokt3UnBHQtE7n50ul\ngTANFaAcVvZ/ld3vW9B4qQdGfyYTLS6aFVgShkqHFP3R37Jj/kYWT6WLZhtE\nxngbgdAHO0BO04Qs4vu0haDorniMQpzVpPQpzXtXc7uU149HMqwKf3JCnWKP\nVc9aahOIoGPPMJtLH7A+AbnOm4J6uvkvqwZrD3f2UQYyXJzII7F8Oi/p82VU\n5s3bAWjgAn1DJpfd3L660LnCNw24iPROARilLE0tEQHxvR+ajfOMuJkZRyI1\nDCyATn0rYOaQefzQ+ZiapQw/bl9qdTXT3gih5BWj0cKG8aFdTcHDF5Y1JV79\nN/2qzB5xLA120ACUOzV2pA5ZWUomEzDq2rQK3gqjR/n5cF6lpBnq2YYc8BQP\nCeol8DIphw5cF/Dmesb/ayT1YpwimVZ6wF1X0TKuY+NiqC5aQvEFZnCwJANm\nRfSrMhEFGJvVe88XAhtYpxkklhDuOfCduDMFArkMfkSgKWw+0NL/Lc0xaLYc\niBnt\r\n=ybDy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgeK36loPJAtZpXz75NT4hyjxmHhHwcLlMtOU+hfC1pAIhAMWY7eJnWyzPAfIv8K+iSlUPjdNP1GYw79uBYimFJu9V"}]},"maintainers":[{"name":"andithemudkip","email":"andithemudkip@gmail.com"}],"_npmUser":{"name":"andithemudkip","email":"andithemudkip@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fb_1.0.4_1569269375397_0.07277983480255923"},"_hasShrinkwrap":false},"1.0.5":{"name":"@alpha-manager/fb","version":"1.0.5","description":"Simply require this module, configure it, and pass it to alpha's .to method!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"AndiTheMudkip"},"license":"ISC","dependencies":{"@alpha-manager/core":"^1.0.1","facebook-api-video-upload":"^2.0.1","fb":"^2.0.0","xtend":"^4.0.2"},"_id":"@alpha-manager/fb@1.0.5","_nodeVersion":"10.15.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-aWQ8dgzlJrvBRkftedMVdOcF9Nzl9Z5T/ABWP1cRSunkR0xl/H9/xgREF9jxfvPbW2s8qbVeLKGv4vFqvkEEfQ==","shasum":"ba3e2affbd9cbdac2363ceb67539ff3e2157c452","tarball":"https://registry.npmjs.org/@alpha-manager/fb/-/fb-1.0.5.tgz","fileCount":3,"unpackedSize":26020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiSavCRA9TVsSAnZWagAAVB0QAIKjHBkpzUhJZfOgmVsE\nWfitgVDk2NJJiDKO7vWvUfIVRmgTrTJhnoJ5fBqkunxf7j1AQ0lpJAl2CVhO\nPYRar+8dLaVRdKpWDc7eQxom1ekzSk3agPrIfRaF0Ynik3EmQ3HZQYqM9C6K\nrNaKyMgLm7wbaDE+tCju/p+IT+UX24EKM3+7lwq+P/aD5q92YqfoW+v40jG9\n5+G9EDSzv4/Cx1xEOTPAeesTI2sQBizi7Ip1W8s+TSXSSElBoSRLoUiCltK2\nl7uN56mcX+7Z1LdIQGqlsf68Xy0p5GdLyvyzmZl7SiU0K2czb1qdpwhijasl\nEl6aiVJSntKgK4fYezy0PMAgthhxEhdqoLJ0chc1/Hn5AM2B5zPB1PKH7QWJ\n7OXLoAjlaSw1+2BLYOn+G8GJexJ7lfZiGbSLAnWlheokEzsc9Rt++ZYAU5m7\nA9wKb3KrnO+Ln63F6VETFS3U+o3Ie4ChbqZZoKOjhOSnnnZsM4QHKtpPW+m9\nVJHG994x8K6yDeB2CtdDKZ/uimTbbCLbGOAkcbeg2022RJttWsFKxv6PLLg6\nO5vu4gsciWx/iMUhIXPHNZ2G2fBFngyCu5X/h7ZxRB5bI5Pf2fXMNmGSDOoF\nKjOGj7ZAL1Wpe0NUNsWGcf4qPpMP0WGqEoyS2AR3evDA4L0u/JSASMiO6wiz\nuLos\r\n=XTVF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7oF1CS8GpI68J2bvOv6y5pyj2ENxp6byi7TK6+wMt4AiBHqRH3wzOCfF6FGiZy1PJB1F704pgL+GThVhUcIJzvjw=="}]},"maintainers":[{"name":"andithemudkip","email":"andithemudkip@gmail.com"}],"_npmUser":{"name":"andithemudkip","email":"andithemudkip@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fb_1.0.5_1569269422638_0.7608739703091778"},"_hasShrinkwrap":false},"1.0.6":{"name":"@alpha-manager/fb","version":"1.0.6","description":"Simply require this module, configure it, and pass it to alpha's .to method!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"AndiTheMudkip"},"license":"ISC","dependencies":{"@alpha-manager/core":"^1.0.1","facebook-api-video-upload":"^2.0.1","fb":"^2.0.0","xtend":"^4.0.2"},"_id":"@alpha-manager/fb@1.0.6","_nodeVersion":"10.15.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-gsp+dOqVoHFxdK6kZjtsnedomuRPYGRoJMpleFr+lx4lgQxO0tE4GyEtrNdDOkAiB9pwA98FtWyZNJOR80aZMQ==","shasum":"6103c8a32b1e90d7c6738f5f3c21539014fecd7c","tarball":"https://registry.npmjs.org/@alpha-manager/fb/-/fb-1.0.6.tgz","fileCount":3,"unpackedSize":26013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdiTDyCRA9TVsSAnZWagAAvRwP/itUGpCzvqnOnfwXGG22\nyuwXRi0WWbyM0ydjSJxNFcpvaJl/QNmPddtl3pqM4mQCvnme3zG/VodA6V1h\n4X3nUMUkh1dazfG//vAcR/Za3oYoV0S8lZS+iK5h1b4H3YCr5mCiMccwrTNn\nIM1BiNaq/2CI7sRgpI/QEwKVEZ7FRoQsB4+if6ghndLGthtVP6+NVW0v0wVL\nGjYjvrUKPpmeceRHdGqMWlOfYHHb8yZgYzx4/OdpN8VsnP9Mlh/Q/re14D/+\nr7dwIaoCNmKw3V28VMbjqlSI5TI5fCY5taBLQN6HCII2waNWqvMN+OUmEvE+\n4rz6fkFh8Nl6ERuz4JQk/RxkSExDQ8O1baMahXSNuzxfzARWNtvj6zh7aMqk\nuYIgVgVmRAs2PHgR5R57gp91KENpN6BwXeDvvnxCiXlXWnBB1OJpdNwAHwqr\noEWgUUeUXW1WC5iXYlftLH6cJeY2f2ttE5F38dJCWCdPQHX8VzDvFN6SHC1c\n8IAXU3zEKrYTve0A8G6Sfu+MeoN4GZRU0OgvsPYCYg38njXMGDwTplwi1EWR\nmYqF+5XAxjtHyh2bOoB1pwQrWwgAnDZEhRqI2JLjd0bkx7oOial+F2SpvPyw\nUFBDiPzbDIoPrA21BogJPJGej+3VTKyXiKJx1OKhe/iasBE0p/gVxL9g/LBC\n1290\r\n=uvoX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEA9EPUTnk3V41xP2B9j9GR6CbMdwY/R3v7059Tg3TY0AiEAsI1egFqXttQn2+JGVrjnSgSu6tLP9w+DrJmj/KMhrzA="}]},"maintainers":[{"name":"andithemudkip","email":"andithemudkip@gmail.com"}],"_npmUser":{"name":"andithemudkip","email":"andithemudkip@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fb_1.0.6_1569272049487_0.6873005685725022"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-09T14:45:44.212Z","1.0.0":"2019-09-09T14:45:44.577Z","modified":"2022-04-04T13:37:59.594Z","1.0.1":"2019-09-09T14:47:07.443Z","1.0.2":"2019-09-13T11:41:50.852Z","1.0.3":"2019-09-13T12:37:42.186Z","1.0.4":"2019-09-23T20:09:35.540Z","1.0.5":"2019-09-23T20:10:22.768Z","1.0.6":"2019-09-23T20:54:09.693Z"},"maintainers":[{"name":"andithemudkip","email":"andithemudkip@gmail.com"}],"description":"Simply require this module, configure it, and pass it to alpha's .to method!","author":{"name":"AndiTheMudkip"},"license":"ISC","readme":"# Alpha Manager [FB]\r\n\r\nThis is a Facebook API wrapper that integrates seamlessly with [@alpha-manager/core](https://www.npmjs.com/package/@alpha-manager/core).\r\n\r\n\r\n\r\n## Installation\r\n\r\n```sh\r\n$ npm i --s @alpha-manager/fb\r\n```\r\n\r\n\r\n\r\n## Getting Started\r\n\r\n```js\r\nconst AlphaFB = require ('@alpha-manager/fb');\r\nconst fb = new AlphaFB ().config ({\r\n    id: 0, // the page id, must be a number\r\n    token: \"\" // the access token, must be a string\r\n});\r\n```\r\n\r\n\r\n\r\n## Using it with @alpha-manager/core\r\n\r\n**This section is targeted towards those who wish to post and comment on a schedule.**\r\n\r\nThese examples will not include the aforementioned setup. Also, they use [@alpha-manager/core](https://www.npmjs.com/package/@alpha-manager/core) to create the tasks, so you will first need to install it\r\n\r\n```sh\r\n$ npm i --s @alpha-manager/core\r\n```\r\n\r\nand import it into your script\r\n\r\n```js\r\nconst alpha = require ('@alpha-manager/core');\r\n```\r\n\r\n\r\n\r\n### Posting plain text\r\n\r\n```js\r\nconst myTask = new alpha.Task ()\r\n\t.to (fb) //the alphaFB instance we configured earlier\r\n\t.do (actionObject => {\r\n        actionObject.type = \"post\";\r\n        actionObject.message = \"hello! this is a text post!\";\r\n        actionObject.done ();\r\n    })\r\n\t.every (5).minute ()\r\n\t.start ();\r\n\t\r\n```\r\n\r\nThe above piece of code will post `\"hello! this is a text post!\"` on the Facebook page we configured earlier every 5 minutes.\r\n\r\n\r\n\r\n### Posting media\r\n\r\n#### Images\r\n\r\n```js\r\nconst myTask = new alpha.Task ()\r\n\t.to (fb) //the alphaFB instance we configured earlier\r\n\t.do (actionObject => {\r\n        actionObject.type = \"post\";\r\n        actionObject.message = \"hello! this is the caption of an image post!\";\r\n        actionObject.media = \"path/to/image.png\";\r\n        actionObject.done ();\r\n    })\r\n\t.every (5).minute ()\r\n\t.start ();\r\n```\r\n\r\nor\r\n\r\n```js\r\nconst myTask = new alpha.Task ()\r\n\t.to (fb) //the alphaFB instance we configured earlier\r\n\t.do (actionObject => {\r\n        actionObject.type = \"post\";\r\n        actionObject.message = \"hello! this is the caption of an image post!\";\r\n        actionObject.media = {\r\n            type: 'image',\r\n            src: 'path/to/image.png'\r\n        };\r\n        actionObject.done ();\r\n    })\r\n\t.every (5).minute ()\r\n\t.start ();\r\n```\r\n\r\n\r\n\r\n#### Video\r\n\r\n```js\r\nconst myTask = new alpha.Task ()\r\n\t.to (fb) //the alphaFB instance we configured earlier\r\n\t.do (actionObject => {\r\n        actionObject.type = \"post\";\r\n        actionObject.message = \"hello! this is the description of a video post!\";\r\n        actionObject.media = {\r\n            type: 'video',\r\n            src: 'path/to/video.mp4'\r\n        };\r\n        actionObject.done ();\r\n    })\r\n\t.every (5).minute ()\r\n\t.start ();\r\n```\r\n\r\n\r\n\r\n### Commenting on a post as soon as it posted\r\n\r\n```js\r\nconst myTask = new alpha.Task ()\r\n\t.to (fb) //the alphaFB instance we configured earlier\r\n\t.do (actionObject => {\r\n        actionObject.type = \"post\";\r\n        actionObject.message = \"hello! this is a text post!\";\r\n        actionObject.comment = {\r\n            message: 'this is a comment',\r\n            media: 'path/to/image.png' // optional, attaches image to the comment\r\n        }\r\n        actionObject.done ();\r\n    })\r\n\t.every (5).minute ()\r\n\t.start ();\r\n```\r\n\r\n\r\n\r\n## Commenting on a schedule\r\n\r\nJust like we are able to post on a schedule using Tasks, we can also comment on a schedule.\r\n\r\n```js\r\nconst myCommentTask = new alpha.Task ()\r\n\t.to (fb)\r\n\t.do (actionObject => {\r\n        actionObject.type = \"comment\";\r\n        actionObject.on = \"id_of_object\"; // the object on which to comment\r\n        actionObject.message = \"the comment message\";\r\n        actionObject.media = \"path/to/image.png\" // optional\r\n    })\r\n\t.every (5). minute ()\r\n\t.start ();\r\n```\r\n\r\n\r\n\r\n## Async Tasks\r\n\r\nWe can also do async operations inside tasks when generating the post object\r\n\r\n```js\r\nconst myTask = new alpha.Task ()\r\n\t.to (fb) //the alphaFB instance we configured earlier\r\n\t.do (async actionObject => {\r\n        actionObject.type = \"post\";\r\n        actionObject.message = await doAsyncStuff ();\r\n        actionObject.done ();\r\n    })\r\n\t.every (5).minute ()\r\n\t.start ();\r\n```\r\n\r\nor\r\n\r\n```js\r\nconst myTask = new alpha.Task ()\r\n\t.to (fb) //the alphaFB instance we configured earlier\r\n\t.do (actionObject => {\r\n        actionObject.type = \"post\";\r\n        doAsyncStuff ().then (msg => {\r\n            actionObject.message = msg;\r\n            actionObject.done ();\r\n        });\r\n    })\r\n\t.every (5).minute ()\r\n\t.start ();\r\n```\r\n\r\nHere `doAsyncStuff ()` is a hypothetical async function that gets resolved at some unknown time in the future.\r\n\r\n\r\n\r\n## Other features\r\n\r\n### Posting\r\n\r\n#### Text\r\n\r\n```js\r\nfb.post ({\r\n    type: 'text',\r\n    message: 'this is a text post!'\r\n})\r\n.then (response => console.log (response))\r\n.catch (error => console.error (error));\r\n```\r\n\r\nWhen posting an **image** or a **video**, the **'media'** property of the object can either be a **path** or a **ReadStream**\r\n\r\n#### Images\r\n\r\n```js\r\nfb.post ({\r\n    type: 'image',\r\n    message: 'this is a caption for the image', // optional\r\n    media: 'path/to/image.png'\r\n})\r\n.then (response => console.log (response))\r\n.catch (error => console.error (error));\r\n```\r\n\r\n#### Video\r\n\r\n```js\r\nfb.post ({\r\n    type: 'video',\r\n    title: 'video title', // optional\r\n    description: 'video description', // optional\r\n    media: 'path/to/video.mp4'\r\n})\r\n.then (response => console.log (response))\r\n.catch (error => console.error (error));\r\n```\r\n\r\n\r\n\r\n## Commenting\r\nA comment can also contain a *media* property that is used to comment pictures. The *'media'* property can be either a **path** or a **ReadStream**.\r\n\r\nThe *object_id* is the ID of the object upon which the comment will be made.\r\n\r\n```js\r\nfb.comment ({\r\n    on: 'object_id',\r\n    message: 'this is a comment!',\r\n    media: 'path/to/image.png' // optional\r\n})\r\n.then (response => console.log (response))\r\n.catch (error => console.error (error));\r\n```\r\n\r\n\r\n\r\n## Getters\r\n\r\n`@alpha-manager/fb` can also be used to get *posts*, *comments*, and *reactions*.\r\n\r\nAll getters accept an `options` object.\r\nCurrently the only parameter the `options` object supports is `fields` which specifies which fields should be retrieved from the Facebook API.\r\n\r\nThe `fields` parameter can either be a string (with the fields separated by \",\"), or an array of strings. For example:\r\n```js\r\nfb.get.posts.all ({fields: ['id', 'message', 'type']})\r\n.then (res => {\r\n  //every post in `res` will have their id, message and type [link, status, photo, video, offer]\r\n})\r\n.catch (err => console.log (err));\r\n```\r\nor\r\n```js\r\nfb.get.posts.all ({fields: 'id, message, created_time'})\r\n.then (res => {\r\n  //every post in `res` will have their id, message and creation time\r\n})\r\n.catch (err => console.log (err));\r\n```\r\n\r\n\r\n\r\n### Posts\r\n\r\n#### all\r\n\r\n``all(options: object)``\r\n\r\n```js\r\nfb.get.posts.all ()\r\n.then (allPosts => console.log (allPosts))\r\n.catch (error => console.error (error));\r\n```\r\n\r\n#### latest\r\n\r\n``latest()`` (without any parameter) returns the latest post made on the specified page.\r\n\r\n```js\r\nfb.get.posts.latest ()\r\n.then (latestPost => console.log (latestPost))\r\n.catch (error => console.error (error));\r\n```\r\n\r\n``latest(n: number, options: object)` returns the latest n posts made on the specified page.\r\n\r\n```js\r\nfb.get.posts.latest (5)\r\n.then (latestFivePosts => console.log (latestFivePosts))\r\n.catch (error => console.error (error));\r\n```\r\n\r\n#### range\r\n``range(start_date: Date, end_date: Date, options: object)`` returns all posts published between the two dates\r\n```js\r\nlet now = new Date ();\r\nlet aWeekAgo = new Date (Date.now () - (7 * 24 * 60 * 60 * 1000));\r\n\r\nfb.get.posts.range (aWeekAgo, now)\r\n.then (posts => {\r\n  //all posts published in the last 7 days\r\n  console.log(posts);\r\n})\r\n.catch (err => console.log(err));\r\n```\r\n\r\n\r\n\r\n### Comments\r\n``comments(object_id: string, options: object)``\r\nThe *object_id* is the ID of the object that we are retrieving the comments of.\r\n```js\r\nfb.get.comments(object_id)\r\n.then (comments => console.log(comments))\r\n.catch (err => console.log(err));\r\n```\r\n\r\n\r\n\r\n### Reactions\r\n\r\n``reactions(object_id: string, options: object)``\r\nThe *object_id* is the ID of the object that we are retrieving the reactions of.\r\n\r\n```js\r\nfb.get.reactions(object_id)\r\n.then(reactions => console.log(reactions))\r\n.catch(err => console.log(err));\r\n```","readmeFilename":"README.md"}