Announcement

Collapse
No announcement yet.

Login using getAcookie stopped working???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MattLee
    replied
    I had a similar issue, there is a solution here:

    https://bitbucket.org/Teatreeman/cre...ie/src/master/

    Just copy the code in getacookie.php, works okay for me!

    Leave a comment:


  • iBetUK
    replied
    Originally posted by thenob View Post
    Has anyone had a reply from betfair yet? I need to know if it will be fixed or if I have to workaround it my end.
    I am fully working now

    I am trying to copy and paste the code I wrote but it keeps causing an error. Just tried tro screen shot it and upload a JPEG but that also won;t work.

    I'll keep trying....or can you PM me??

    Leave a comment:


  • thenob
    replied
    Originally posted by LetsGo View Post

    There is nothing to be fixed because you are not using the proper methods from the documention.
    As LiamP said goto:-
    https://docs.developer.betfair.com/d...28bot%29+login
    How do you know what method I am using?

    Leave a comment:


  • iBetUK
    replied
    Hope this is of use to some of you. I have manage to get something working. I re-wrote the CURL function

    (More issues!! It won't let me post the code here for some reason)

    error_converting_message
    Error information: " 403 error "


    Then you call the function to create the Session Token:

    $sessionToken = getSession($UserName, $Password, $appKey);
    Last edited by iBetUK; 03-08-2020, 01:46 PM.

    Leave a comment:


  • iBetUK
    replied
    With respect. If they are not the proper methods then why did Betfair supply a login PHP function?? Plus you have already admited not knowing what getAcookie is so how can you comment on it validity???

    If it was to be depreciated then we could have been warned.
    Last edited by iBetUK; 03-08-2020, 09:58 AM.

    Leave a comment:


  • LetsGo
    replied
    Originally posted by thenob View Post
    Has anyone had a reply from betfair yet? I need to know if it will be fixed or if I have to workaround it my end.
    There is nothing to be fixed because you are not using the proper methods from the documention.
    As LiamP said goto:-
    https://docs.developer.betfair.com/d...28bot%29+login

    Leave a comment:


  • thenob
    replied
    Has anyone had a reply from betfair yet? I need to know if it will be fixed or if I have to workaround it my end.

    Leave a comment:


  • LiamP
    replied
    Originally posted by iBetUK View Post
    I am now using another CURL command as detailed in the docs

    curl -k -i -H "Accept: application/json" -H "X-Application: <AppKey>" -X POST -d 'username=<username>&password=<password>' https://identitysso.betfair.com/api/login

    But now it says I need to generate some certificate and attache it to my account.

    Read the the pages referring to OPENSLL but tbh, I've not got a clue where to start with that. Do I need to write PHP script to generate these key files?
    Just use the interactive endpoint:

    https://docs.developer.betfair.com/d...-+API+Endpoint

    Leave a comment:


  • iBetUK
    replied
    I am now using another CURL command as detailed in the docs

    curl -k -i -H "Accept: application/json" -H "X-Application: <AppKey>" -X POST -d 'username=<username>&password=<password>' https://identitysso.betfair.com/api/login

    But now it says I need to generate some certificate and attache it to my account.

    Read the the pages referring to OPENSLL but tbh, I've not got a clue where to start with that. Do I need to write PHP script to generate these key files?

    Leave a comment:


  • reevey
    replied
    Originally posted by LetsGo View Post
    Not a huge issue because no one uses getAcookie, what ever it is.
    What's the alternative?

    Leave a comment:


  • thenob
    replied
    I have two programs that started to fail to login yesterday lunchtime. This could be the problem!

    Leave a comment:


  • LetsGo
    replied
    Not a huge issue because no one uses getAcookie, what ever it is.

    Leave a comment:


  • iBetUK
    replied
    I have put a support call into Betfair regarding this.

    I can only assume that they have made updates elsewhere which has had a knock on effect.

    I would have expected this to have been a huge issue though!!!

    Leave a comment:


  • HickB
    replied
    Mine is still not working. Is anyone else having problems? The error displayed for previously working code is below...

    Call to api-ng failed: Response: [{"jsonrpc":"2.0","error":{"code":-32099,"message":"AANGX-0002","data":{"exceptionname":"AccountAPINGExcepti on","AccountAPINGException":{"requestUUID":"null ", "errorCode":"INVALID_SESSION_INFORMATION","err orDe tails":""}}},"id":1}]

    Leave a comment:


  • LetsGo
    replied
    Never heard of "getAcookie".
    Is it in the documentation?

    Leave a comment:

Working...
X