ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Social Network control
  • Overview
  • Facebook
  • Twitter
  • LinkedIn
  • Tumblr
  • Pinterest
  • Instagram
  • TikTok
  • WhatsApp
  • Twitch
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Social network: Available targets
Overview
This page presents the different features of the Social Network control according to the selected options.
Facebook
Several types are available in a Facebook Social Network control. Each type can be associated with a specific target.
The table below presents the information used for each type and target.
TypeTargetEffect
I like or RecommendDomainCreates a link to the domain of the current site on the user's Facebook wall.
Caution: A default index page must exist on the hosting server.
The siteCreates a link to the current site on the user's Facebook wall.
Caution: A default index page must exist on the hosting server.
The pageCreates a link to the page of the current site on the user's Facebook wall.
Custom target
The URL must be typed in the "Target URL" field.
Case 1: URL of a Facebook page:
  • Increments the counter of Facebook page that was liked.
  • Creates a favorite on the user's Facebook wall.
Case 2: URL of any page or site:
Creates a link to the specified page or site on the user's Facebook wall.
SendDomainUsed to send a link on the domain to another Facebook user. The message sent is a private message.
The siteUsed to send a link on the site to another Facebook user. The message sent is a private message.
The pageUsed to send a link on the page to another Facebook user. The message sent is a private message.
Custom targetUsed to send a link to another Facebook user. This link corresponds to a link to any page or site. The message sent is a private message.
The URL of the link to be sent must be entered in the "Target URL" field.
SubscribeCustom target
In "Target account", you can enter:
  • the URL of the Facebook page to which the user wants to subscribe. For example: "www.facebook.com/01net" or "http://www.facebook.com/pages/PC-SOFT/247782873866"
  • the ID of the Facebook account to which the user wants to subscribe. For example: "01net" or "247782873866".
View profileCustom targetIn "Target account", you can enter the identifier of the desired Facebook account. For example: "01net" or "247782873866".
Remark: To allow posting on the user's wall, the page containing the Social Network control must meet the following conditions:
  • the page must include a title.
  • the page must include at least one Image control.
Caution: During the site test (GO in localhost mode), only the tooltips are correct. You cannot publish on a wall.
Twitter
Several types are available in a Twitter Social Network control. Each type can be associated with a specific target.
The table below summarizes the information used for each target.
TypeTargetEffect
TweeterDomainCreates a message containing a link to the domain of the current site on the user's Twitter feed.
The siteCreates a message containing a link to the current site on the user's Twitter feed.
The pageCreates a message containing a link to the page of the current site on the user's Twitter feed.
Custom target
The URL must be typed in the "Target URL" field.
Creates a message containing a link to the specified URL on the user's Twitter feed.
FollowCustom target
In the "Target URL" control, you have the ability to type:
  • the URL of the Twitter page to which the user wants to subscribe. For example: "https://twitter.com/PCSOFT_FR"
  • the ID of the Twitter account to which the user wants to subscribe. For example: "PCSOFT_FR".
View profileCustom targetIn "Target account", you can enter the identifier of the desired Twitter account. For example: "PCSOFT_FR".

Remarks:
  • The Twitter messages are limited to 140 characters.
  • Twitter Social Network controls can be run in test mode (but the URL is not contained in the messages).
LinkedIn
You can share the current content in a LinkedIn Social Network control.
The table below presents the information used for each type and target.
TypeTargetEffect
ShareDomainCreates a LinkedIn post with a link to the domain.
Caution: A default index page must exist on the hosting server.
The siteCreates a LinkedIn post with a link to the site.
Caution: A default index page must exist on the hosting server.
The pageCreates a LinkedIn post with a link to the web page.
Custom targetCreates a LinkedIn post with a custom link.
The URL of the link to be sent must be entered in the "Target URL" field.
View profileCustom targetDisplays the page corresponding to the LinkedIn profile.
In "Target account", you can enter the identifier of the desired LinkedIn account.

Caution: During the site test (GO in localhost mode), no test can be run for this type of control.
Remark: To specify the thumbnail to be displayed in the news, provide the image via an OpenGraph description. A specific tag must be included in the page header. This tag must contain the image to display.
For example:
<meta property="og:image" content="http://mydomain.com/myimage.jpg"/>
Tumblr
Several types are available in a Tumblr Social Network control. Each type can be associated with a specific target.
The table below summarizes the information used for each target.
TypeTargetEffect
ShareDomainCreates a message containing a link to the domain of the current site on the user's Tumblr wall.
The siteCreates a message containing a link to the current site on the user's Tumblr wall.
The pageCreates a message containing a link to the page of the current site on the user's Tumblr wall.
Custom targetThe URL must be typed in the "Target URL" field.
Creates a message containing a link to the specified URL on the user's Tumblr wall.
FollowCustom targetIn "Target account", you can enter:
  • the URL of the Tumblr page to which the user wants to subscribe. For example: "https://PCSOFT_FR.Tumblr.com/"
  • the ID of the Tumblr account to which the user wants to subscribe. For example: "PCSOFT_FR".
View profileCustom targetDisplays the page corresponding to the Tumblr profile.
In "Target account", you can enter the identifier of the desired Tumblr account.

Remark: Tumblr Social Network controls can be run test mode (but the URL is not contained in the messages).
Pinterest
You can subscribe to an account and display profiles in a Pinterest Social Network control.
The table below presents the information used for each type and target.
TypeTargetEffect
SubscribeCustom targetUsed to subscribe to the account publications.
In "Target account", you can enter:
  • the URL of the Pinterest page to which the user wants to subscribe.
  • the ID of the Pinterest account to which the user wants to subscribe. For example: "PCSOFT_FR".
View profileCustom targetUsed to display the profile of the desired account.
In "Target account", you can enter the identifier of the desired Pinterest account.

Caution: During the site test (GO in localhost mode), no test can be run for this type of control.
Instagram
You can display profiles in an Instagram Social Network control.
The table below presents the information used for each type and target.
TypeTargetEffect
View profileCustom targetUsed to display the profile of the desired account.
In "Target account", you can enter the identifier of the desired Instagram account.

Caution: During the site test (GO in localhost mode), no test can be run for this type of control.
TikTok
You can display profiles in a TikTok Social Network control.
The table below presents the information used for each type and target.
TypeTargetEffect
View profileCustom targetUsed to display the profile of the desired account.
In "Target account", you can enter the identifier of the desired TikTok account.

Caution: During the site test (GO in localhost mode), no test can be run for this type of control.
WhatsApp
You can share addresses in a WhatsApp Social Network control.
The table below presents the information used for each type and target.
TypeTargetEffect
ShareCustom targetOpens the version of WhatsApp installed on the computer. This application must be configured on the user's computer.
Creates a WhatsApp message with a custom link (content of "Target account").

Caution: During the site test (GO in localhost mode), no test can be run for this type of control.
Twitch
You can display profiles in a Twitch Social Network control.
The table below presents the information used for each type and target.
TypeTargetEffect
View profileCustom targetUsed to display the profile of the desired account.
In "Target account", you can enter the identifier of the desired Twitch account.

Caution: During the site test (GO in localhost mode), no test can be run for this type of control.
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 06/19/2024

Send a report | Local help