Git Product home page Git Product logo

gogotrademe's People

Contributors

sleemanj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gogotrademe's Issues

Can't Update Contact Details When Editing Listing

Not sure if this is intentional but 'Contacts' is missing from the $ElementOrder array for the switch case 'EditListingRequest' in gogoTradeMe.php, which means it's not included in the API request when editing listings.

TM API returns error: Your session has expired. Please log in again.

Hi there, I'm working with a legacy project that implements your module to display a list of TM job listings on the client's website. This has all been working well until recently when the API began returning the following error (from Chrome console):

ErrorDescription: "Your session has expired.  Please log in again."
Request: "https://api.trademe.co.nz/v1/Search/Jobs.json?member_listing=2180750&rows=200

Just wondered if you had any ideas why this might be occuring? The app on the TM account is enabled and approved. Thanks in advance for any tips!

Help! Session time-out about every 30min

Thank you so much for the codes! All working good! I noticed that it times out often and I get this message: "fastal-error: uncaught exception.. you have not stored a access token, please re-connect.. Please advise what I need to modify to fix this. Many thanks

Delete methods failing hash

eg. calling DELETE on photo
http://developer.trademe.co.nz/api-reference/photo-methods/remove-a-photo/

{"Request":"https://api.tmsandbox.co.nz/v1/Photos/1296400/Remove.xml","ErrorDescription":"Invalid HMAC-SHA1 signature. Base string: DELETE&https%3A%2F%2Fapi.tmsandbox.co.nz%2Fv1%2FPhotos%2F1296400%2FRemove.xml&oauth_consumer_key%3D6C2137DEE16B84582BDD52DEA3225283C1%26oauth_nonce%3Dc362f39e4aae528f8bd4896b33a9bd78%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1440634755%26oauth_version%3D1.0"}

looks like it's missing the 'oauth_signature' when calling
trademe()->delete();

"Dump/Execute Any Get" issue

Hi
The "Dump Any Get" option on your example menu is giving the attached error: "The server encountered an error processing the request." (see screenshot). I'm on a Mac running osx 11.0.1, XAMPP v8.0.19. Any ideas?
Thank you for providing the framework!
Martin

Screen Shot 2022-08-23 at 10 28 03 AM

store token in a flat file

Hi,
its not an issue.

In init.php I want to store the token in a flat file.
Do I have to store the access token and request token for listings?
Is there an example?

Thanks, Michael

Error: `Undefined index: HTTP_PORT in .../example/connect.php on line 34`

Hi there, I'm getting the following error when accessing example/connect.php on my server:

Undefined index: HTTP_PORT in .../example/connect.php on line 34

The line in question is:

if($_SERVER['HTTP_PORT'] != 443)

I have checked my key and secret are correct in config.php, and I am using https in the browser. I am a PHP noob, so apologies if I am missing something obvious here, or if there is a better place to ask these questions. Thanks in advance!

Fatal Error

Fatal error: Uncaught exception 'Exception' with message 'Unknown data format: ' in C:\wamp\www\trademe\lib\gogoOAuth\gogoOAuthResponse.php:246 Stack trace: #0 C:\wamp\www\trademe\lib\gogoOAuth\gogoOAuthResponse.php(230): gogoOAuthResponse->data() #1 [internal function]: gogoOAuthResponse->__call('to_array', Array) #2 C:\wamp\www\trademe\lib\gogoOAuth\gogoOAuth.php(119): gogoTradeMeResponse->to_array() #3 C:\wamp\www\trademe\example\connect.php(16): gogoOAuth->get_request_token() #4 {main} thrown in C:\wamp\www\trademe\lib\gogoOAuth\gogoOAuthResponse.php on line 246

Any ideas?

Thanks heaps.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.