Facebook messenger

03/06/2014 11:39 mlukac89#1
Hey i want to make simple facebook messenger, to show friend list and so i can send messages, is this possible with Autoit and if is anyone know paramateres for get freind list and to send and recieve PM ?

I downloaded many but dont works good, and official FB messenger is stoped to work they stop to support it.
03/06/2014 15:35 Trøjan#2
There is a free Facebook-UDF aviable on an other board but its only in german and also for the german facebook. I think it is easy to switch the country. Just google:" facebook autoit code bot udf" :P
03/06/2014 16:34 alpines#3
[Only registered and activated users can see links. Click Here To Register...] I'm sorry that I had to shorten it but epvp disables codebot links.
He/she/it meant this.

But that works without the API, it requests the normal webpages instead of the API.
If you want to make a messenger, then you should definitely use the API.
03/06/2014 16:49 mlukac89#4
I found that but it don't works full of errors, i was see some tutorial on c# where some guy put iframe in c# and hide it so its not visible but can use all data from it, is this possibble with AutoIt ?

Here is error i got with that UDF

Code:
"C:\Users\xoooox\Desktop\FB_UDF.au3"(255,228) : warning: $ID: possibly used before declaration.
			$sPacket = 'fb_dtsg=' & $aDTSG[0] & '&charset_test=%E2%82%AC%2C%C2%B4%2C%E2%82%AC%2C%C2%B4%2C%E6%B0%B4%2C%D0%94%2C%D0%84&body=' & $MessageText & '&send=Antwort&tids=' & $aTIDS[0] & '&wwwupp=' & $aWWWUPP[0] & '&ids%5B' & $ID &
			~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
03/06/2014 17:04 alpines#5
Did you use the downloadversion or the codetagsversion?
Probably they're different.
03/06/2014 17:11 mlukac89#6
I download from first post from author FB_UDF.au3 and this one

Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUIListBox.au3>
#include <WindowsConstants.au3>
#include <String.au3>
#include 'WinHttp.au3'
#include 'FB_UDF.au3'

$hStart = _FBStart()

$sMail = "" ; your email
$sPW = "" ; your pass

$hLogin = _FBLogin($hStart, $sMail, $sPW)
MsgBox(0, "Facebook", $hLogin)

$page = _FBPageGetData($hStart, $hLogin)


$Form1 = GUICreate("Test", 562, 437, 192, 124)
;$List1 = GUICtrlCreateList("", 8, 8, 409, 409)
$List1 = _FBCreateList($page[0], $page[1], $page[2], 8, 8, 409, 409)
$Button1 = GUICtrlCreateButton("Ausgewähltes Liken", 424, 160, 129, 49)
GUISetState(@SW_SHOW)


While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Button1
			_FBLikeThisPage($hStart, $hLogin, $List1)

	EndSwitch
WEnd
here is link i ziped all files [Only registered and activated users can see links. Click Here To Register...]
03/06/2014 17:26 alpines#7
Did you try to make it work for you country? I assume you don't live in germany. Probably the settings are wrong.
03/06/2014 17:56 mlukac89#8
No i didn't, im from Croatia

But it give problem with $ID in script if i run it blank or with mail and pass
03/06/2014 18:10 alpines#9
Do you use the newest version of AutoIt?
03/06/2014 18:45 mlukac89#10
Yea newest version
01/04/2017 15:30 khoav2k#11
Link Die
01/10/2017 17:13 Lawliet#12
Dead thread ;) 06.03.2014