PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Starting the session
  • Stopping the session
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Used to authenticate and log in to Faceboook.
Versions 22 and later
Windows This function is now available for the WEBDEV sites in Windows.
New in version 22
Windows This function is now available for the WEBDEV sites in Windows.
Windows This function is now available for the WEBDEV sites in Windows.
Example
MySession is fbSession
MySession..AppID = "1702546803104741"
MySession..AppSecret = "badf00ddeadbeefbadc0deoff1ce8ecd"
MySession..Permission = [fbInfoProfile, fbEmail]
IF FBStartSession(MySession) THEN
Info("Connected")
END
Syntax
<Result> = FBStartSession(<Session>)
<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

  • FBStartSession is used to authenticate toward a Facebook server. This function initializes the connection with the server and it must be called before any communication with Facebook.
  • FBStartSession must be called from the main thread of the application.

Stopping the session

A started Facebook session is a persistent session: it will remain opened:
  • until the application is closed.
  • until the call to FBStopSession.
Business / GUI classification : Business Logic
Component : wd250ggl.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment