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

PHP

How do u Add a site programatically using php?

HOw do u Add a Site in google webmaster tools using google API's in php. I dont need to verify the site as it would already be verified by FIle system.

3 Answers

Hi there, can you please clarify what is the problem?

I need to Add A Site in google webmaster tools. Now if we go to google webmaster tools under certain credentials you can add a site by pressing 'Add A Site' Red color button i need a script of PHP where i can do this programatically. Actually i have got bulk of site that i would asdd in google webmaster tools.

I need to Add A Site in google webmaster tools. Now if we go to google webmaster tools under certain credentials you can add a site by pressing 'Add A Site' Red color button i need a script of PHP where i can do this programatically. Actually i have got bulk of site that i would asdd in google webmaster tools.

you want to build a code which adds a site to Google Webmaster Tools using the API?

YES Precisely in PHP

it seems like the offer their API only using Java or Python...