First time here? Check out the FAQ!
0

re-learning to pull photos via a url

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

OBXJim's avatar
OBXJim
asked 2016-07-27 14:52:48 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

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.

bwolven's avatar
bwolven
answered 2016-07-27 17:15:19 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

Thanks bwolven,

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

Jim

OBXJim's avatar
OBXJim
answered 2016-07-29 12:11:19 -0500
edit flag offensive 0 remove flag delete link

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's avatar bwolven (2016-07-29 13:35:21 -0500) edit

bwolven,

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

OBXJim's avatar OBXJim (2016-07-30 06:37:38 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer