Ask Your Question

re-learning to pull photos via a url

asked 2016-07-27 14:52:48 -0600

I use ODBC to pull data from OBAR's Rets feed and photos from a URL. As of Tuesday morning the photo url no longer works. An old url example would be: This url worked with every listing by substituting the MLS#.

I was forwarded, from our MLS Director, this example url: This url works with one listing (or only a few) when substituting the MLS#. I assume the data between the photo size and ending ML#.jpg is an authorization code needed for each listing. (?)

So, I went looking in the Rets feed for tables and fields to find a solution. I assumed the Media table might have something. Trying to pull via ODBC from the media table in the Rets feed results in "ODBC Error: Unauthorized Query. You are not authorized to access class (RE_1) in resource (Media).

Any help to get my project back up and running is greatly appreciated.


edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-07-29 12:11:19 -0600

Thanks bwolven,

It sounds like you suggest I store the photos on my server?


edit flag offensive delete link more


Not really unless you feel you need to. You should be able to just use and store the URLs returned from a Media resource search. You just won't be able to build your own URLs for use like you may have been able to before.

bwolven gravatar imagebwolven ( 2016-07-29 13:35:21 -0600 )edit


Great, I was already programming to save & update urls.

OBXJim gravatar imageOBXJim ( 2016-07-30 06:37:38 -0600 )edit

answered 2016-07-27 17:15:19 -0600

Sorry that the change to using CDN URLs caused you problems. Manipulating the image URLs directly is not the best practice because the URL formatting is subject to change.

The SSM has updated your profile to allow access the Media resource.

Thank you for your patience.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-07-27 14:52:48 -0600

Seen: 1,675 times

Last updated: Jul 29 '16