PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 25 → WX - Windev Mobile With Facebook Connect API
WX - Windev Mobile With Facebook Connect API
Started by BOLLER, Sep., 25 2017 8:30 PM - 2 replies
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on September, 25 2017 - 8:30 PM
//WINDEV MOBILE WITH FACEBOOK LOGIN

//vFBRequestResult is Variant
//bufSJSON is Buffer

gbConexaoFaceBook..AppID = 265533847277323"

gbConexaoFaceBook..AppSecret = "98b29de5db5918a569c43c5fcc82f506"

gbConexaoFaceBook..Permission = [fbInfoProfile, fbEmail]

HourGlass(True)

IF FBStartSession(gbConexaoFaceBook ) THEN

gbConectouFaceBook = True

ToastDisplay(FBGetUserInformation(gbConexaoFaceBook ,fbEmail))

EDT_EMail..Value = FBGetUserInformation(gbConexaoFaceBook ,fbEmail)

EDT_NomeUsuario..Value = FBGetUserInformation(gbConexaoFaceBook ,fbName)

STC_Nome_Usuario..Caption = "Seja Bem Vindo " + FBGetUserInformation(gbConexaoFaceBook ,fbName)

IMG_Usuario = FBGetUserInformation(gbConexaoFaceBook ,fbImage)

BTN_Iniciar..State = Active

ELSE

gbConectouFaceBook = False

Error("Erro ao conectar No Facebook. Tente Novamente.")

END

HourGlass(False)

e no global do projeto declarei esta variavel pra poder manusear em outras telas

gbConexaoFaceBook is fbSession


--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Message modified, September, 25 2017 - 8:31 PM
Registered member
4 messages
Popularité : +1 (1 vote)
Posted on October, 16 2017 - 2:53 AM
:obrigado:
Registered member
3,651 messages
Popularité : +175 (223 votes)
Posted on October, 16 2017 - 1:06 PM
Olá

Temos que registrar aqui o que descobrimos para termos onde buscar futuramente.

:merci:

--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/