Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Konrad Pilch
Konrad Pilch
2,435 Points

JS or PHP on Facebook


I want to write to every female that i visit on facebook. But i dont want go to message ,pasete and click send.

How can i make a script that will automaticly send it for me when i visit a female profile?

1 Answer

I don't want to make any assumptions about why you might want to do that, but that type of functionality would have to be implemented at the browser level, so you'd probably be looking for a browser extension or plugin.

Either that or learn to make your own extension/plugin. Most use JavaScript.

Konrad Pilch
Konrad Pilch
2,435 Points

Thank you .
Well, i could tell you but only in private of "why".
This isnt the best place to say it ( no its not dirty or anything, just personal stuff).