Jump to content
Sign in to follow this  
Proph

Create a Facebook Like Button in GUI

Recommended Posts

Proph

Is it possible to create a Facebook Like button to put in my GUI so that when clicked it will Like my fan page?

Thanks!

Share this post


Link to post
Share on other sites
Unc3nZureD

Maybe you could take a picture of that Like button, so you woun't put any text but a pic at the button.

$Button1 = GUICtrlCreateButton("", 176, 88, 75, 25, $BS_BITMAP)
GUICtrlSetImage(-1, @ScriptDir & "+1.bmp", 0)

If they press it then you just Activate this command:

_RunDos("start Http://like_page_of_your_facebook.com")

[Please have a look at the help file for includes]

Edited by Unc3nZureD

Share this post


Link to post
Share on other sites
hannes08

_RunDos("start Http://like_page_of_your_facebook.com")

You can also use ShellExecute() instead or _RunDos() command. It doesn't need an include and doesn't start a DOS box (in the back).

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.