Ask Your Question
0

re-learning to pull photos via a url

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

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: http://obarmls.paragonrels.com/Parago... This url worked with every listing by substituting the MLS#.

I was forwarded, from our MLS Director, this example url: http://cdnparap10.paragonrels.com/Par... 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.

Jim

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

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

Thanks bwolven,

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

Jim

edit flag offensive delete link more

Comments

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 -0500 )edit

bwolven,

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

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

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

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

Stats

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

Seen: 1,218 times

Last updated: Jul 29 '16