tags:

views:

34

answers:

1

I've come across several tools that search users by keyword, however, none that's open source.

I'm not familiar with the MySpace API and at first glance it doesn't seem like this option is available. I was hoping a PHP class exists for this sort of thing. So my question: how do I identify myspace users that have a keyword? Can it done through the API or another route is needed?

A: 

I haven't looked at the API, but I would say if you can't find a search function in the API, your best bet would be to write a scraper.

Use PHP (you may need curl as well) to load the MySpace search page with your query. Then parse the source code of that page to find what you want.

If you can't find a keyword lookup in the API, and you can't do a keyword lookup/search through the website, you're unfortunately likely out of luck.

dimo414
He want's to find ALL the users that have a specific keyword..do you think using curl will really help here?
Gonçalo Queirós
@Goncalo, I'm not suggesting scraping the entirety of MySpace, I'm suggesting accessing the MySpace search page programmatically using curl, then scraping that /single page/ for the info you need.
dimo414
@dimo414 My mistake ;)
Gonçalo Queirós