{"id":15532824,"url":"https://github.com/tito/p4a-facebook-example","last_synced_at":"2025-08-23T02:32:37.147Z","repository":{"id":9951808,"uuid":"11971399","full_name":"tito/p4a-facebook-example","owner":"tito","description":"Facebook Android SDK + Kivy + Python-for-android","archived":false,"fork":false,"pushed_at":"2013-10-29T17:00:57.000Z","size":7272,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T13:44:32.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/tito.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-08T08:17:27.000Z","updated_at":"2025-03-05T06:07:01.000Z","dependencies_parsed_at":"2022-08-31T13:23:44.121Z","dependency_job_id":null,"html_url":"https://github.com/tito/p4a-facebook-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tito/p4a-facebook-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tito%2Fp4a-facebook-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tito%2Fp4a-facebook-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tito%2Fp4a-facebook-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tito%2Fp4a-facebook-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tito","download_url":"https://codeload.github.com/tito/p4a-facebook-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tito%2Fp4a-facebook-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271732383,"owners_count":24811312,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-02T11:33:18.390Z","updated_at":"2025-08-23T02:32:37.058Z","avatar_url":"https://github.com/tito.png","language":"Python","readme":"Kivy + Facebook SDK\n===================\n\n#### Features:\n* post to timeline\n* image post with description\n* uses toasts and netcheck to make UX better\n\n#### Install\nPre-built application in ```/bin```\nadb install -r /bin/FacebookExample-0.1-debug-unaligned.apk\n\n#### Build\n\nThe documentation for creating a Facebook application and several other can be found here:\n\n    http://kivy.org/planet/2013/08/using-facebook-sdk-with-python-for-android-kivy/\n\nThis example works only on Android.  There is a mock module to aid with development.\n\nCreate debug hash key (default debug key password is `android`)::\n\n    # with shell script\n    ./base64sig.sh\n    # will get debug key.  password is android\n    # to get production sig:\n    ./base64sig.sh mykestore.keystore\n\n    # manually\n    keytool -exportcert -alias androiddebugkey -keystore \\ \n        ~/.android/debug.keystore  | openssl sha1 -binary | openssl base64\n\n* Make Facebook SDK project data\ncd ~/my/facebook/dir/../facebook\nandroid update project -p .\n\nCopy the browser.sh to a P4A dist then run:\n```facebook.sh my/path/to/src/```\nIf it doesn't work, edit facebook.sh to configure P4A to build this.  Need PyJNIus in your dist. \n\n#### Issues:\n\n* W/fb4a:fb:OrcaServiceQueue(28514): com.facebook.orca.protocol.base.ApiException:\n  The proxied app is not already installed.\n\n  -\u003e ?, doesn't seem dangerous.\n\n* In FB SDK 3.5:\nYou need to modify the java or else crash every time you make a session\nchange 821-2 in AuthorizationClient.java to:\n\n    \"\"+intent.getIntExtra(NativeProtocol.EXTRA_PROTOCOL_VERSION, 0));\n    //intent.getStringExtra(NativeProtocol.EXTRA_PROTOCOL_VERSION));\n\n* In FB SDK 3.5.2 this is already fixed\n\nAvailable Facebook permissions:\n\n    https://developers.facebook.com/docs/reference/fql/permissions/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftito%2Fp4a-facebook-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftito%2Fp4a-facebook-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftito%2Fp4a-facebook-example/lists"}