Scout24 / restapi-php-sdk

SDK für PHP-Entwickler um die Arbeit mit der API von ImmobilienScout24 zu vereinfachen. Über die API erhält man Ergebnislisten, Objektdaten, uvm. von ImmobilienScout und kann diese Daten inhherhalb seines Webservice integrieren. Die Dokumentation zum SDK findet man unter https://github.com/Immocaster/php-sdk/wiki.
64 stars 45 forks source link

Use oAuth with getExpose() #42

Open jcsiegrist opened 7 years ago

jcsiegrist commented 7 years ago

getExpose() did not work with Objects published only for "Hompage" at IS24. With oAuth getExpose can retrieve such Objects and also "IS24" published Objects. Downside is the App needs to be certified.

I also disabled session_start(), since this results in a E_NOTICE since php 4.3 if a Session is already started. The App code should start the session, should it not?

The OAuth class just defined the OAuthException class without checking if it already exists. This resulted in a fatal error if the PHP oAth extension is installed.