{"id":13426378,"url":"https://github.com/d4t4x/node_apply-magic-sauce","last_synced_at":"2025-04-14T13:02:45.244Z","repository":{"id":70906717,"uuid":"76418472","full_name":"d4t4x/node_apply-magic-sauce","owner":"d4t4x","description":null,"archived":false,"fork":false,"pushed_at":"2017-06-15T18:45:31.000Z","size":9,"stargazers_count":49,"open_issues_count":0,"forks_count":11,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-15T21:39:10.039Z","etag":null,"topics":["personality","prediction","third-party-api"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d4t4x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-12-14T02:47:31.000Z","updated_at":"2023-07-26T13:18:06.000Z","dependencies_parsed_at":"2024-02-03T08:53:37.729Z","dependency_job_id":"5e2a432d-2a9b-4cc7-8d82-1f7da4206d23","html_url":"https://github.com/d4t4x/node_apply-magic-sauce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4t4x%2Fnode_apply-magic-sauce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4t4x%2Fnode_apply-magic-sauce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4t4x%2Fnode_apply-magic-sauce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4t4x%2Fnode_apply-magic-sauce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d4t4x","download_url":"https://codeload.github.com/d4t4x/node_apply-magic-sauce/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245955255,"owners_count":20699891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["personality","prediction","third-party-api"],"created_at":"2024-07-31T00:01:33.123Z","updated_at":"2025-03-28T02:06:32.930Z","avatar_url":"https://github.com/d4t4x.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Using Node and Apply Magic Sauce API\n\nResearch Paper: http://www.pnas.org/content/110/15/5802.full.pdf?with-ds=yes\n\nAPI documentation: https://applymagicsauce.com/documentation.html\n\nPredicted Traits from Like IDs: https://applymagicsauce.com/documentation_traits.html\n\nSee what Facebook tells you it knows about you: https://www.facebook.com/ads/preferences/\n\n\n## Instructions for setup\n\n- get customer ID and API key at https://applymagicsauce.com/research.html\n- open terminal\n- type ```cd path/to/downloaded/folder``` and enter (learn more about terminal [here](http://mac.appstorm.net/how-to/utilities-how-to/how-to-use-terminal-the-basics/))\n- in the terminal window type ```npm install```\n- go to the downloaded folder and rename the file ```secrets_example.json``` to ```secrets.json```\n- open the ```secrets.json``` file and paste in your Apply Magic Sauce ```customer_id``` and ```api_key```\n    - leave the ```token``` for now\n- in the terminal window type ```node app.js```\n\n## Example Facebook Like IDs\n\n18807449704 - Mashable\n\n115384328477363 - The Creators Project\n\n7976226799 - The Daily Show\n\n10429446003 - The xx\n\n5878552155 - Ludovico Einaudi\n\n6815841748 - Barack Obama\n\n35481394342 - The Godfather\n\n9328458887 - adidas Originals\n\n12463674069 - Curly Fries\n\n124955570892789 - Bernie Sanders\n\n102099916530784 - Humans of New York\n\nhttps://developers.facebook.com/tools/explorer/\n\n## View predictions in HTML format\n\nThis page will automatically grab the ```predictions.json``` file from the folder to display the data in a more readable format. It also adds links to the corresponding Facebook pages. So, e.g. Mashable can be accesed via http://facebook.com/18807449704.\n\n- if you are not in the directory of the main folder, type ```cd path/to/downloaded/folder``` and enter\n- type ```python -m SimpleHTTPServer``` and enter\n- open browser at localhost:8000/public\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd4t4x%2Fnode_apply-magic-sauce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd4t4x%2Fnode_apply-magic-sauce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd4t4x%2Fnode_apply-magic-sauce/lists"}