ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Facebook functions
  • Starting the session
  • Closing the session
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Used to authenticate and log in to Faceboook.
Example
MySession is fbSession
MySession.AppID = "1702546803104741"
MySession.AppSecret = "badf00ddeadbeefbadc0deoff1ce8ecd"
MySession.Permission = [fbInfoProfile, fbEmail]
IF FBStartSession(MySession) THEN
	Info("Connected")
END
Syntax

Synchronous authentication Hide the details

<Result> = FBStartSession(<Session>)
<Result>: Boolean
  • True if the connection was established,
  • False otherwise.
<Session>: fbSession variable
Name of the fbSession variable corresponding to the connection to initialize.
Remarks

Starting the session

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

Closing the session

An open Facebook session is persistent: it will remain open:
Business / UI classification: Business Logic
Component: wd300ggl.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help