Facebook: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Brendon (talk | contribs)
No edit summary
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[file:Facebook.jpg]]
[[file:Facebook.jpg]]


'''Description'''
== Description ==


The Facebook controls add a Facebook “Like” button to your app. Clicking on it will open up Facebook in a browser page.
The Facebook controls add a Facebook “Like” button to your app. Clicking on it will open up Facebook in a browser page.
Line 7: Line 7:
No program code needs to be added to use this control. Since it needs to get information from the Facebook servers, it may render more slowly than other controls.
No program code needs to be added to use this control. Since it needs to get information from the Facebook servers, it may render more slowly than other controls.


'''Properties'''
This control works on Safari for iOS and Chrome for Android, but not on the Android Browser.
 
== Properties ==


The following properties are supported:
The following properties are supported:
Line 24: Line 26:
| showFaces || Show display profile photos below the button? (Standard layout only.)
| showFaces || Show display profile photos below the button? (Standard layout only.)
|}
|}
[[Category:Language Reference]]
[[Category:Controls]]
[[Category:Common]]

Latest revision as of 21:12, 21 May 2017

Description

The Facebook controls add a Facebook “Like” button to your app. Clicking on it will open up Facebook in a browser page.

No program code needs to be added to use this control. Since it needs to get information from the Facebook servers, it may render more slowly than other controls.

This control works on Safari for iOS and Chrome for Android, but not on the Android Browser.

Properties

The following properties are supported:

caption Text to display on button. Can be Like or Recommend.
colorScheme Color Scheme. Can be Light or Dark.
font Font. Needs to be one of the standard fonts.
href The URL to “Like”. i.e. facebook.com/ladygaga
layout Standard, Button Count or Box Count
showFaces Show display profile photos below the button? (Standard layout only.)