School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,412 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,588 people online right now. Registration is fast and FREE... Join Now!




Point me in the right direction please.

 

Point me in the right direction please.

miken16

28 May, 2009 - 09:05 AM
Post #1

New D.I.C Head
*

Joined: 28 May, 2009
Posts: 1

Hello

I want to learn to code a bot that logs into myspace and does command task like accept friend request. Then take it a step further and be able to do stuff within their game apps. But not sure where to start. Some sample code would be very helpful.

Someone please point me in the right direction.

I have had some basic programming experience and scripting experience when I was younger. It has been a while so I need a good refresh.

Thanks,
Mike

User is offlineProfile CardPM
+Quote Post


numeric

RE: Point Me In The Right Direction Please.

28 May, 2009 - 11:05 AM
Post #2

D.I.C Head
**

Joined: 12 Jan, 2009
Posts: 71



Thanked: 7 times
My Contributions
Where the web is concerned it would be pretty difficult to maintain I think, because of how dynamic the net is....nothing tends to stay the same for very long.

Where applications are concerned (assuming your running windows here) you could use the message-passing nature of the OS to automate tasks. You'll need to send system messages at a pretty low level and will need to use a program like Winspector to find the control ID's for individual controls within the program that you want to automate etc and build your own messages.

Looks like a lot of fun - I don't have any links to pass on though, as I'm getting all this from an old magazine article so your on your own there tongue.gif It might be a little tough if you don't have much programming experience or knowledge of how your chosen OS works.

It would be pretty useful to have something like this I must admit - scripting is great for non-gui apps etc but in windows it can be a pain in the ass doing common chores manually.


Numeric

EDIT: Welcome btw!

This post has been edited by numeric: 28 May, 2009 - 11:18 AM
User is offlineProfile CardPM
+Quote Post

JackOfAllTrades

RE: Point Me In The Right Direction Please.

28 May, 2009 - 12:04 PM
Post #3

I exist to Google your problems.
Group Icon

Joined: 23 Aug, 2008
Posts: 4,948



Thanked: 424 times
Dream Kudos: 50
Expert In: Being annoyed with lazy people.

My Contributions
I Googled "myspace development," pressed I'm Feeling Lucky, and came up with this.
User is offlineProfile CardPM
+Quote Post

sloanthrasher

RE: Point Me In The Right Direction Please.

1 Jun, 2009 - 07:34 AM
Post #4

New D.I.C Head
*

Joined: 31 May, 2009
Posts: 17



Thanked: 1 times
My Contributions
Using the Facebook API, you could code an app in VB.NET or C++ that would do what you want. It's got pretty good documentation, and if you know either of these languages, it should be pretty easy to do.

I would write it as an app that runs on a scheduled basis with a minimal GUI, and maybe even sit in the task tray.

Just make sure it doesn't check the time too often -- that is, use very long timer events to wait for the next check.



User is offlineProfile CardPM
+Quote Post

gabehabe

RE: Point Me In The Right Direction Please.

2 Jun, 2009 - 04:16 AM
Post #5

Sexy DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 8,827



Thanked: 175 times
Dream Kudos: 3275
Expert In: Lots of things.

My Contributions
@sloanthrasher I think you need more userbars. Nineteen is just not enough. smile.gif

@miken16 are you on about using the MySpack API, or making your own application?

This post has been edited by gabehabe: 2 Jun, 2009 - 04:17 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 11:11PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month