GameHost綜合論壇

搜索
熱搜: 活動 交友 discuz
查看: 1363|回復: 2

【FB登入】PhoneGap (Cordova) FB登入教學

[複製鏈接]

36

主題

36

帖子

293

積分

管理員

Rank: 9Rank: 9Rank: 9

積分
293
發表於 2016-12-11 23:14:52 | 顯示全部樓層 |閱讀模式
第一步:先新增一個 Facebook API 的 專案 選擇 Andoroid 專案

第二步:取得雜湊函數
1. 打開 cmd 輸入
keytool -exportcert -alias androiddebugkey -keystore C:\\Users\你的使用者名稱\.android\debug.keystore | openssl sha1 -binary | openssl base64

(密碼預設為 android )

2.將取得的雜湊與PhoneGap 專案名稱填入【設定】中


第三步:回到 phoneGap 專案安裝 facebook 元件
cordova plugin add cordova-plugin-facebookconnect-orlando@latest --variable APP_ID=XXXXXXXXX --variable APP_NAME=XXXXXX



第四步:使用方式

登入
取得個人資料
取得帳號token
取得登入狀態
登出
注意:如果登入出現錯誤可能是金鑰雜湊無法 match ,請不要馬上按返回,fb會回傳一串雜湊,請將此雜湊設為API的金鑰雜湊


本帖子中包含更多資源

您需要 登錄 才可以下載或查看,沒有帳號?立即註冊

x
回復

使用道具 舉報

1322

主題

1717

帖子

4814

積分

論壇元老

Rank: 8Rank: 8

積分
4814
發表於 2020-1-19 23:29:41 | 顯示全部樓層
回復 支持 反對

使用道具 舉報

1251

主題

1258

帖子

3843

積分

論壇元老

Rank: 8Rank: 8

積分
3843
發表於 2020-1-23 19:47:36 | 顯示全部樓層
2884863537372828 31249981 8532255446412809
http://www.macaronifox.com/viewtopic.php?pid=120037#p120037
http://rgut.su/index.php?topic=1779.new#new
http://rgut.su/index.php?topic=1779.new#new
http://rgut.su/index.php?topic=1779.new#new
http://rgut.su/index.php?topic=1779.new#new
http://handball.se-leistungssport.de/viewtopic.php?f=2&t=232589&p=427163#p427163
http://handball.se-leistungssport.de/viewtopic.php?f=2&t=232589&p=427161#p427161
http://rgut.su/index.php?topic=1779.new#new
http://handball.se-leistungssport.de/viewtopic.php?f=2&t=232589&p=427159#p427159
http://rgut.su/index.php?topic=1779.new#new
https://dankgaminginc.com/showthread.php?tid=82080&pid=391350#pid391350
http://rgut.su/index.php?topic=1779.new#new
https://dankgaminginc.com/showthread.php?tid=82080&pid=391352#pid391352
https://dankgaminginc.com/showthread.php?tid=82080&pid=391352#pid391352
https://dankgaminginc.com/showthread.php?tid=82080&pid=391350#pid391350
https://forum.accueilfamilialenaveyron.fr/showthread.php?tid=13932&pid=16404#pid16404
https://dankgaminginc.com/showthread.php?tid=82080&pid=391352#pid391352
https://dankgaminginc.com/showthread.php?tid=82080&pid=391350#pid391350
https://forum.accueilfamilialenaveyron.fr/showthread.php?tid=13932&pid=16404#pid16404
https://pflegetisch.at/showthread.php?tid=30736&pid=52249#pid52249
https://pflegetisch.at/showthread.php?tid=30736&pid=52249#pid52249
http://polishcrackers.eu/showthread.php?tid=1277&pid=1849#pid1849
http://72.167.212.211/forum/index.php?topic=172321.new#new
http://www.houseinheavens.com/viewtopic.php?pid=55145#p55145
https://dankgaminginc.com/showthread.php?tid=82080&pid=391352#pid391352

http://myopelmeriva.com/viewtopic.php?f=3&t=5835
https://robotics-forum.eu/viewtopic.php?f=2&t=361658
http://www.matt-ben.com/forums/viewtopic.php?f=4&t=331555
http://nknlt.com/forum/showthread.php?tid=256291
https://armalifeitalia.altervista.org/forum/index.php?topic=18210.new#new
http://www.litigator.ru/forum/viewtopic.php?f=22&t=220255
http://n64cc.com/forum/viewtopic.php?f=2&t=443086
http://community.galak-z.com/viewtopic.php?f=1&t=681717
https://forum.sunucumts3.com/konu-%D0%BC%D1%83%D0%BB%D1%8C%D1%82%D1%84%D1%96%D0%BB%D1%8C%D0%BC-%C2%AB%D0%B1%D0%B0%D1%80%D0%B0%D0%BD%D1%87%D0%B8%D0%BA-%D1%88%D0%BE%D0%BD-2020%C2%BB-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D1%81%D1%96%D0%BC%D0%B5%D0%B9%D0%BD%D0%B0%D0%B0%D0%BD%D1%96%D0%BC%D0%B0%D1%86%D1%96%D1%8F-%D0%B1%D0%B0%D1%80%D0%B0%D0%BD%D1%87%D0%B8%D0%BA%D1%88%D0%BE%D0%BD%D1%84%D0%B5%D1%80%D0%BC%D0%B0%D0%B3%D0%B5%D0%B4%D0%B4%D0%BE%D0%BD.html
http://www.host-king.donate.4d-host.com/bbs/thread-1597-1-1.html
https://forum.battlezone.lv/showthread.php?tid=33089&pid=142281#pid142281
http://myopelmeriva.com/viewtopic.php?f=3&t=5964
http://tsreader.com/forum/viewtopic.php?f=2&t=375664&sid=2158c90a9e899a11129891569dadd65f
http://tnavr.com/forum/viewtopic.php?f=1&t=978165
http://forums.cacheonix.org/viewtopic.php?f=2&t=370849
http://mypotencia.com/viewtopic.php?f=6&t=152863
http://www.sportkipik.be/la-buvette/viewtopic.php?f=16&t=137599
http://forum.motoevasao.com/viewtopic.php?f=2&t=9166
http://inet-bisnes.ru/topic/50856-baranchik-shon-ukranskoiu-movoiu-baranchikshonfe/
http://canada.sinnersorsaints.de/showthread.php?tid=108613&pid=281535#pid281535
http://coolstf.com/forum/viewtopic.php?f=2&t=375665&sid=196075ddc0ecf7e948e9d77b629b6913
http://www.opteragame.com/forum/viewtopic.php?f=3&t=713848
http://forum.physible.ir/showthread.php?99531-%D0%A1%E2%80%9E%D0%A0%D1%95%D0%A1%D0%82%D0%A1%D1%93%D0%A0%D1%98-%D0%A0%D1%94%D0%A0%C2%B0%D0%A0%C2%B7%D0%A0%D1%91%D0%A0%D0%85%D0%A0%D1%95-%D0%A0%D1%95%D0%A0%D0%85%D0%A0%C2%BB%D0%A0%C2%B0%D0%A0%E2%84%96%D0%A0%D0%85-%D0%A0%D1%95%D0%A1%E2%80%9A%D0%A0%D0%86%D0%A0%C2%B5%D0%A1%E2%80%9A%D0%A0%D1%91%D0%A1%E2%80%9A%D0%A1%D0%8A&p=506077&posted=1#post506077
https://forum.msk24city.ru/viewtopic.php?f=2&t=694952
http://www.opteragame.com/forum/viewtopic.php?f=3&t=713847
http://forum.physible.ir/showthread.php?99531-%D0%A1%E2%80%9E%D0%A0%D1%95%D0%A1%D0%82%D0%A1%D1%93%D0%A0%D1%98-%D0%A0%D1%94%D0%A0%C2%B0%D0%A0%C2%B7%D0%A0%D1%91%D0%A0%D0%85%D0%A0%D1%95-%D0%A0%D1%95%D0%A0%D0%85%D0%A0%C2%BB%D0%A0%C2%B0%D0%A0%E2%84%96%D0%A0%D0%85-%D0%A0%D1%95%D0%A1%E2%80%9A%D0%A0%D0%86%D0%A0%C2%B5%D0%A1%E2%80%9A%D0%A0%D1%91%D0%A1%E2%80%9A%D0%A1%D0%8A&p=506078&posted=1#post506078
http://su-27rc.ru/phpbb/viewtopic.php?f=6&t=410282
http://n64cc.com/forum/viewtopic.php?f=2&t=443087
http://www.club77freccetricolori.it/phpbb/viewtopic.php?f=10&t=128433
https://etlovers.com/forum/showthread.php?tid=723329
http://www.opteragame.com/forum/viewtopic.php?f=3&t=713849
http://www.techstartup.info/viewtopic.php?f=33&t=621028
https://forum.l-w.xyz/showthread.php?tid=5779
http://www.nouenko.free.fr/forums/viewtopic.php?pid=642438#p642438
https://andsomegames.co.uk/2019/11/11/hello-world/?unapproved=224009&moderation-hash=c8ba90536e93077e2d35178bb29259e9#comment-224009
http://forums.accounting-pro.ie/viewtopic.php?f=9&t=166689
http://imsober.ru/viewtopic.php?f=2&t=2235
http://www.opteragame.com/forum/viewtopic.php?f=3&t=713851
http://www.stellar-impact.com/forum/viewtopic.php?f=3&t=1184707
http://www.midmomtb.com/viewtopic.php?f=8&t=1007374
http://forum.sinegosa.com/index.php?/topic/326120-%D0%B1%D0%B0%D1%80%D0%B0%D0%BD%D1%87%D0%B8%D0%BA-%D1%88%D0%BE%D0%BD-%D1%84%D0%B5%D1%80%D0%BC%D0%B0%D0%B3%D0%B5%D0%B4%D0%B4%D0%BE%D0%BD-2020/
http://www.spucknapf.net/showthread.php?p=399697#post399697
http://psnow.es/foro/viewtopic.php?f=19&t=315850
http://www.my-trinity.com/forum/showthread.php?p=1282801#post1282801
https://onlineshop.guru/forum/thread-178854.html
https://psromania.ro/index.php?/topic/158006-%D0%B1%D0%B0%D1%80%D0%B0%D0%BD%D1%87%D0%B8%D0%BA-%D1%88%D0%BE%D0%BD-%D1%84%D0%B5%D1%80%D0%BC%D0%B0%D0%B3%D0%B5%D0%B4%D0%B4%D0%BE%D0%BD-%D0%B4%D0%B8%D0%B2%D0%B8%D1%82%D0%B8%D1%81%D1%8F-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D1%81%D0%BC%D0%BE%D1%82%D1%80%D0%B5%D1%82%D1%8C-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D1%8E%D1%82%D1%83%D0%B1/
http://n64cc.com/forum/viewtopic.php?f=2&t=443088
http://lindner-essen.de/forum/viewtopic.php?f=3&t=83783
http://72.167.212.211/forum/index.php?topic=171771.new#new
http://theloungeog.com/showthread.php?tid=32815&pid=114727#pid114727
http://admin.infinix.club/forum.php?mod=viewthread&tid=1965809&extra=
http://forum.verwaltungskostensenken.it/viewtopic.php?f=2&t=717552
http://moryak.biz/forum/showthread.php?p=270619#post270619
http://forum.muaban24h.edu.vn/threads/2020.18139/
https://etlovers.com/forum/showthread.php?tid=723330
https://stretco.sk/forum/viewtopic.php?f=12&t=129599
http://www.stellar-impact.com/forum/viewtopic.php?f=3&t=1184711
http://mypotencia.com/viewtopic.php?f=6&t=152862
http://www.trocdelavape.com/thread-2649.html
http://www.opteragame.com/forum/viewtopic.php?f=3&t=713850
http://redcaffe.ru/showthread.php?p=101522#post101522
http://www.theamericanirregular.org/forum/index.php?topic=16364.new#new
http://rallyandprotest.com/messageboard/viewtopic.php?f=4&t=481691
http://forum.cloversaglik.com/showthread.php?tid=38729
http://www.stellar-impact.com/forum/viewtopic.php?f=3&t=1184713
http://arvester.ru/forum/viewtopic.php?f=4&t=849349
http://www.matt-ben.com/forums/viewtopic.php?f=4&t=331556
http://arvester.ru/forum/viewtopic.php?f=4&t=849350
http://jubilej.ru/showthread.php?p=426956#post426956
https://www.ex-ttcommunity.com/forum/viewtopic.php?f=2&t=1930320
http://sokol2snt.ru/forum/viewtopic.php?f=4&t=7541
http://midmomtb.com/viewtopic.php?f=8&t=1007375
http://dl3modern.com/vb/showthread.php?p=380559#post380559
回復 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|小黑屋|防ddos主機  

GMT+8, 2020-2-21 07:42 , Processed in 0.098176 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表