ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
  • Starting the session
  • Closing the session
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Used to authenticate and log in to Faceboook.
Example
MaSession is fbSession
MaSession.AppID = "1702546803104741"
MaSession.AppSecret = "badf00ddeadbeefbadc0deoff1ce8ecd"
MaSession.Permission = [fbInfoProfile, fbEmail]
IF MaSession.Start() THEN
Info("Connecté")
END
Syntax
<Result> = <Session>.Start()
<Result>: Boolean
  • True if the connection was established,
  • False otherwise.
<Session>: fbSession variable
Name of fbSession variable corresponding to the connection to initialize.
Remarks

Starting the session

  • <fbSession variable>.Start authenticates users on a Facebook server. This function initializes the connection with the server and must be called before any interaction with Facebook.
  • The <fbSession variable>.Start function must only be called from the main the thread of the application.

Closing the session

A started Facebook session is a persistent session: it will remain open:
Component: wd280ggl.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment