- Determine the URL of what you want your Like button to like.
If it is a posting you have to hover over the timestamp to see the URL.
- Paint an HTML Widget on your Uniface Form.
- Assing the following string to the widget:
- Now the Like button goes to one of my postings.
To change that replace the URL in the href parameter with your own URL. Use URL encoding, %2F is a foward slash. So you have to replace this bit:
- Compile and run!
(If you are not logged on to Facebook yet, a login dialog will appear after you have pressed to button. Please follow the instructions in the dialog.)
Needless to say that this is just as easy in a Uniface Web application...