PHRETS (Marketlinx RETS Connector Issue)

673 views
Skip to first unread message

AhmadSharifpour

unread,
May 11, 2012, 2:02:57 AM5/11/12
to PHRETS
Hi everyone,

I am trying to use PHRETS to get data from MarketLinx. I am using the
following settings and it seems that the issue is with the User Agent.
I used "RETSConnector/1.0" RETS User Agent which I found it that it
was the MarketLinx RETS Connector User and I should be using PHRETS/
1.0

* RETS-Version: RETS/1.5
* User-Agent: PHRETS/1.0
* Host: http://nwa.rets.interealty.com/Login.asmx/Login
* User: ******
* Password: ******

Using this line of code after connecting give me the following error,
if ($rets->Error()){
print_r($rets->Error());
}

Array
(
[type] => rets
[code] => 20037
[text] => User Agent not registered or denied. Reference: 64be5c62-
e49c-4fe2-8a20-6b5911f449e9
)

GetMetadataTypes() called but unable to find GetMetadata location.
Failed login?

Any ideas? Any help would be appreciated.

David Kullmann

unread,
May 11, 2012, 10:08:58 AM5/11/12
to phr...@googlegroups.com
Ahmad:

Are you able to connect manually on RETS MD? 

http://retsmd.com/ <-- use Show More Options to see the User Agent.

-DK


--
You received this message because you are subscribed to the Google Groups "PHRETS" group.
To post to this group, send email to phr...@googlegroups.com.
To unsubscribe from this group, send email to phrets+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phrets?hl=en.




--
David Kullmann
Founder, Master Deal Analyzer, Technology Samurai

Kakesh Narayan Pradhan

unread,
May 11, 2012, 10:34:29 AM5/11/12
to phr...@googlegroups.com
I think your RETS Account is IP Concern.
So, you need to take an static IP.

AhmadSharifpour

unread,
May 11, 2012, 12:16:05 PM5/11/12
to PHRETS
Yes, I have used that and I am getting the same User Agent error: User
Agent not registered or denied. Reference: 64be5c62-
e49c-4fe2-8a20-6b5911f449e9

On May 11, 7:08 am, David Kullmann <da...@flipcomp.com> wrote:
> Ahmad:
>
> Are you able to connect manually on RETS MD?
>
> http://retsmd.com/<-- use Show More Options to see the User Agent.
>
> -DK
>

Wade Berlin

unread,
May 11, 2012, 12:21:08 PM5/11/12
to phr...@googlegroups.com
the user agent "PHRETS/1.0" is not registered with your provider.  Either get it registered with the provider, or change the user agent to a registered one.

PHRETS will do this with the "AddHeader" function:

that is:

(assuming you registered the Phrets object as "$rets")

$rets->AddHeader("User-Agent", "addtheuseragenthere");

On May 11, 2012, at 12:16 pm, AhmadSharifpour wrote:

Yes, I have used that and I am getting the same User Agent error: User
Agent not registered or denied. Reference: 64be5c62-
e49c-4fe2-8a20-6b5911f449e9


Thank you for your time,
Wade Berlin
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
BrokerIDX Networks
Creative,Affordable, Cutting Edge Technology for the Real Estate Professional
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Reply all
Reply to author
Forward
0 new messages