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

APIs

Marcos Raj
PLUS
Marcos Raj
Courses Plus Student 5,979 Points

What if I want to use the same from other website?

I want to do the same with Pinterest website, from where do i will get the url to get the photos.

2 Answers

Steven Parker
Steven Parker
231,184 Points

The Pinterest API is a bit different.

You'll eventually make requests to https://api.pinterest.com/v1/me/pins/... using some additional request data, but first you will need an access code and an access token.

You should probably start by taking a look at the Pinterest Developer's Overview.

Marcos Raj
PLUS
Marcos Raj
Courses Plus Student 5,979 Points

How do i run the ajax in local server, I am using wamp server?

Steven Parker
Steven Parker
231,184 Points

I'm not familiar with WAMP, but AJAX is normally used on the client side. From a server you generally have more direct ways to interact with remote services.