Bebo App Notifactions & Invations Deleter [Source]

This topic is locked, you cannot edit posts or make further replies. Page 1 of 1 [ 6 posts ]
Author Message

Offline Liam

1337 n00b!!!111!!one!


User avatar


Joined: Mon Feb 04, 2008 3:57 am

Posts: 2504

Location: Wales

PostPosted: Wed Aug 06, 2008 6:07 pm   Post subject: Bebo App Notifactions & Invations Deleter [Source]   

Credits go to Intoxic for Login in part as even if i code my Own it would be the same near enough :evil: :haha:

Private Sub chameleonButton1_Click()
Wrapper.StopIT = False
Dim strHTML As String
Dim user As String
Dim pass As String

If txtuser.Text = "" Then
MsgBox "Enter A Username", vbCritical, "Error"
Exit Sub
End If

If txtpass.Text = "" Then
MsgBox "Enter A Password", vbCritical, "Error"
Exit Sub
End If

Wrapper.ClearCookies

user = txtuser.Text
pass = txtpass.Text

Call Wrapper.GetWrapper("http://bebo.com/SignIn.jsp")

strHTML = Wrapper.PostWrapper("http://bebo.com/SignIn.jsp", "FriendsMemberId=&FriendsChecksumNbr=&InviteRecipientId=&InviteChecksumNbr=&AppUrl=&Page=&QueryString=&api_key=&next=&canvas=null&v=&EmailUsername=" & user & "&Password=" & pass & "&SignIn=Sign+In+%3E", "http://bebo.com/SignIn.jsp")

If InStr(1, strHTML, "has not been recognized. Please check and") Then
MsgBox "Username not recognized", vbCritical, "Error"
Exit Sub

ElseIf InStr(1, strHTML, "Your password is incorrect, please try again") Then
MsgBox "Password Incorrect", vbCritical, "Error"
Exit Sub

ElseIf InStr(1, strHTML, "The URL has moved") Then
Label3.Caption = "Logged In!"
meep:
strHTML = Wrapper.GetWrapper("http://www.bebo.com/c/app_request/index?tab=invitations")
If InStr(strHTML, "You have no invitations") Then
Wrapper.StopIT = True
Label3.Caption = "No App Invites Left.."
MsgBox "No App Invites Left..", vbExclamation, "Finished!"
Else
Text1.Text = GB(strHTML, "<a href=""delete_invite?tab=invitations&nid=", "&aid=")
Text3.Text = GB(strHTML, "<a href=""delete_invite?tab=invitations&nid=" & Text1.Text & "&aid=", """>")
strHTML = Wrapper.GetWrapper("http://www.bebo.com/c/app_request/delete_invite?tab=invitations&nid=" & Text1.Text & "&aid=" & Text3.Text)
Text2.Text = Text2.Text + 1
Label3.Caption = Text2.Text & " App Invites Deleted.."
GoTo meep
Exit Sub

End If
End If
End Sub

Private Sub Command1_Click()
Wrapper.StopIT = False
Dim strHTML As String
Dim user As String
Dim pass As String

If txtuser.Text = "" Then
MsgBox "Enter A Username", vbCritical, "Error"
Exit Sub
End If

If txtpass.Text = "" Then
MsgBox "Enter A Password", vbCritical, "Error"
Exit Sub
End If

Wrapper.ClearCookies

user = txtuser.Text
pass = txtpass.Text

Call Wrapper.GetWrapper("http://bebo.com/SignIn.jsp")

strHTML = Wrapper.PostWrapper("http://bebo.com/SignIn.jsp", "FriendsMemberId=&FriendsChecksumNbr=&InviteRecipientId=&InviteChecksumNbr=&AppUrl=&Page=&QueryString=&api_key=&next=&canvas=null&v=&EmailUsername=" & user & "&Password=" & pass & "&SignIn=Sign+In+%3E", "http://bebo.com/SignIn.jsp")

If InStr(1, strHTML, "has not been recognized. Please check and") Then
MsgBox "Username not recognized", vbCritical, "Error"
Exit Sub

ElseIf InStr(1, strHTML, "Your password is incorrect, please try again") Then
MsgBox "Password Incorrect", vbCritical, "Error"
Exit Sub

ElseIf InStr(1, strHTML, "The URL has moved") Then
Label3.Caption = "Logged In!"
meep:
strHTML = Wrapper.GetWrapper("http://www.bebo.com/c/app_request/index?tab=notifications")
If InStr(strHTML, "You have no notifications") Then
Wrapper.StopIT = True
Label3.Caption = "No App Note's Left.."
MsgBox "No App Notifications Left..", vbExclamation, "Finished!"
Else
Text1.Text = GB(strHTML, "<a href=""delete_notif?tab=notification&nid=", """>")
strHTML = Wrapper.GetWrapper("http://www.bebo.com/c/app_request/delete_notif?tab=notification&nid=" & Text1.Text)
Text2.Text = Text2.Text + 1
Label3.Caption = Text2.Text & " App Note's Deleted.."
GoTo meep
Exit Sub

End If
End If
End Sub
Top Profile 

Offline -McGuinn-

Gold Member


User avatar


Joined: Mon Nov 19, 2007 7:57 pm

Posts: 972

PostPosted: Wed Aug 06, 2008 6:39 pm   Post subject: Re: Bebo App Notifactions & Invations Deleter [Source]   

Why don't you say what you need in the bot Like 4 Commande Buttons and 1 list box?

Nice Source Btw 045

Pity i don't code anymore

_________________
ImageImage
Top Profile E-mail 

Offline Connor

Aciid VIP


User avatar


Joined: Mon Jun 02, 2008 10:52 am

Posts: 2234

Location: barnsley

PostPosted: Wed Oct 01, 2008 12:22 pm   Post subject: Re: Bebo App Notifactions & Invations Deleter [Source]   

i want to make this what the hell do you need lol

_________________
Image
Image

add me http://www.bebo.com/barnsley2k8
Coming Soon rule-over 9000.forumotion.com
"Drunk girls are horny bitches" - David Easdale

Legends

Alex,Unclean,Matt2009,Magicide
Top Profile E-mail 

Offline David

Software Guru


User avatar


Joined: Thu Sep 11, 2008 9:34 am

Posts: 437

Location: South Wales

PostPosted: Wed Oct 01, 2008 1:28 pm   Post subject: Re: Bebo App Notifactions & Invations Deleter [Source]   

Read The Code ItsSelf..
Youll Work Most Of It Out.

E.g: TxtUser = One text Box
Wrapper.GetWrapper = HttpWrapper
And So On. :D

_________________
Top Profile E-mail 

Offline Luke

Gold Member


User avatar


Joined: Thu Aug 21, 2008 10:05 pm

Posts: 612

Location: Sexbierum =]

PostPosted: Wed Oct 01, 2008 5:57 pm   Post subject: Re: Bebo App Notifactions & Invations Deleter [Source]   

wakttoo wrote:
i want to make this what the hell do you need lol


Image

hope that helps 045

_________________
Image
Top Profile E-mail 

Offline Intoxic

The Don


Joined: Sun Jan 27, 2008 6:38 pm

Posts: 1025

Location: Sheffield, UK

PostPosted: Wed Oct 01, 2008 6:04 pm   Post subject: Re: Bebo App Notifactions & Invations Deleter [Source]   

Dim strHTML As String
Dim user As String
Dim pass As String


Dim strHTML As String, user As String, pass As String

_________________
Image
Top Profile E-mail 
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies. Page 1 of 1 [ 6 posts ]

 
 •  

Who is online
Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

  

cron