{"id":19748352,"url":"https://github.com/drmoriarty/godot-facebook","last_synced_at":"2025-07-01T22:32:15.752Z","repository":{"id":54862118,"uuid":"88418957","full_name":"DrMoriarty/godot-facebook","owner":"DrMoriarty","description":"Facebook module for Godot Game Engine (android and iOS)","archived":false,"fork":false,"pushed_at":"2021-07-18T15:08:48.000Z","size":44678,"stargazers_count":81,"open_issues_count":5,"forks_count":22,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-30T08:50:00.700Z","etag":null,"topics":["android","facebook","godot","godot-addon","godot-engine","godot-module","godot-plugin","godotengine","nativelib"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DrMoriarty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"drmoriarty","tidelift":null,"community_bridge":null,"liberapay":"DrMoriarty","issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-04-16T14:34:25.000Z","updated_at":"2025-04-08T23:02:03.000Z","dependencies_parsed_at":"2022-08-14T05:00:57.529Z","dependency_job_id":null,"html_url":"https://github.com/DrMoriarty/godot-facebook","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/DrMoriarty/godot-facebook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrMoriarty%2Fgodot-facebook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrMoriarty%2Fgodot-facebook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrMoriarty%2Fgodot-facebook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrMoriarty%2Fgodot-facebook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrMoriarty","download_url":"https://codeload.github.com/DrMoriarty/godot-facebook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrMoriarty%2Fgodot-facebook/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263046579,"owners_count":23405219,"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":["android","facebook","godot","godot-addon","godot-engine","godot-module","godot-plugin","godotengine","nativelib"],"created_at":"2024-11-12T02:21:24.897Z","updated_at":"2025-07-01T22:32:15.672Z","avatar_url":"https://github.com/DrMoriarty.png","language":"Java","funding_links":["https://ko-fi.com/drmoriarty","https://liberapay.com/DrMoriarty"],"categories":[],"sub_categories":[],"readme":"Facebook module for [Godot Game Engine](http://godotengine.org/) (Android and iOS). \n\n## Installation\n\n1. Install [NativeLib-CLI](https://github.com/DrMoriarty/nativelib-cli) or [NativeLib Addon](https://github.com/DrMoriarty/nativelib).\n2. Make `nativelib -i facebook` in your project directory if your are using CLI.\n5. Setup your Facebook App ID in package details or Project settings (`Facebook/FB_APP_ID`). \n3. Enable **NativeLib export plugin** in Project settings.\n6. Enable **Custom Build** for using in Android.\n\n## Usage\n\nGd script wrapper (in `scripts/facebook.gd`) will be automatically added to your autoloading list. You can use it everywhere in your code.\n\n## API\n\n### Common Functions\n* login(permissions: Array)\n* game_request(message: String, recipients: String, objectId: String)\n* game_requests(callback_object: Object, callback_method: String)\n* logout()\n* is_logged_in() -\u003e bool\n* user_profile(callback_object: Object, callback_method: String)\n* get_friends(callback_object: Object, callback_method: String)\n* get_invitable_friends(callback_object: Object, callback_method: String)\n\n### Analytics Functions\n* set_push_token(token: String)\n* log_event(event: String, value: int = 0, params: Dictionary = null)\n* log_purchase(price: float, currency: String = 'USD', params : Dictionary = null)\n* deep_link_uri() -\u003e String\n* deep_link_ref() -\u003e String\n* deep_link_promo() -\u003e String\n\n### Signals\n* fb_inited\n* login_success(token)\n* login_cancelled\n* login_failed(error)\n* request_success(result)\n* request_cancelled\n* request_failed(error)\n* logout\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrmoriarty%2Fgodot-facebook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrmoriarty%2Fgodot-facebook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrmoriarty%2Fgodot-facebook/lists"}