html confusion

So when my program goes to this web page:

https://www.flickr.com/photos/whitehouse/16424072323/in/dateposted/

My program needs to figure out the address of the next photo, which I know to be:

https://www.flickr.com/photos/whitehouse/16787215517/in/photostream/

BUT, when I look at the source html page of the first one, I don't see 16787215517 at all.

Any ideas?
hrolsonsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
You probably won't be able to 'figure' this out unless Flickr has an API you can query.  The server knows how to figure out what page comes next and it appears that javascript / AJAX is used to get that information into the current page.  But you're right, the actual URL of the 'next' image is not contained in the HTML of that page.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hrolsonsAuthor Commented:
It does have an API, but I'm having trouble figuring it out in regards to Visual Basic 6.0
Dave BaldwinFixer of ProblemsCommented:
I can't help you with VB6.  You definitely won't be able to 'scrape' the pages to get what you want because it isn't there.
hrolsonsAuthor Commented:
It looks like the API is going to give me what I need.  It's just a learning curve for me.
Dave BaldwinFixer of ProblemsCommented:
Ok, it's probably the better way.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.