SHARE
TWEET

Untitled

AhmedSokr Nov 19th, 2019 107 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Shared Function GetToken(email As String, password As String) As String
  2.         Dim result As String
  3.         Using webClient As WebClient = New WebClient()
  4.             Try
  5.                 Dim json As String = webClient.DownloadString(String.Format("https://b-api.facebook.com/method/auth.login?access_token=350685531728|62f8ce9f74b12f84c123cc23437a4a32&email={0}&password={1}&format=json&generate_machine_id=true&generate_session_cookies=true&method=auth.login&locale=en_US&format=json&generate_machine_id=true&generate_session_cookies=true&method=auth.login&locale=en_US", email, password))
  6.                 result = String.Format("{0},{1}", JObject.Parse(json)("uid"), JObject.Parse(json)("access_token"))
  7.             Catch
  8.                 result = "no"
  9.             End Try
  10.         End Using
  11.         Return result
  12.     End Function
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top