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
Tariq Naeem
281 PointsHow 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
dorzki
4,312 PointsHi there, can you please clarify what is the problem?
Tariq Naeem
281 PointsI 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.
dorzki
4,312 Pointsyou want to build a code which adds a site to Google Webmaster Tools using the API?
Tariq Naeem
281 PointsYES Precisely in PHP
dorzki
4,312 Pointsit seems like the offer their API only using Java or Python...
Tariq Naeem
281 PointsTariq Naeem
281 PointsI 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.