Results 1 to 10 of 10

Thread: Use API to create link but get error: Parameter "domain" not supported

  1. #1

    Default Use API to create link but get error: Parameter "domain" not supported

    I use the API to create link in python:

    Code:
    import json
    import requests
    payload = {'domain': 'linkbucks.com', 'contentType': 2, 'apiPassword': 'xxxxxxxxxxx', 'user': 'sodalan', 'adType': 4, 'originalLink': 'http://www.mysite.com'}
    r = requests.post('https://www.linkbucks.com/api/createLink/single', data=json.dumps(payload))
    r.json()
    shows:
    Code:
    {u'errorCode': 2, u'errorDescription': u'Parameter "domain" must refer to domain supported by linkbucks.'}
    I tried all of others domian in Create Link page "Alias URL", they all didn't working. Why?

  2. #2
    New Member
    Join Date
    Jan 2015
    Posts
    1

    Default

    I think the OP is long gone, but I found this post on Google so I'm going to reply anyway in the hope that it helps other people with the same problem.

    The problem is that when linking to adult content, the set of domains that are allowed changes. Content type of 2 is for adult content. Linkbucks.com is for family friendly links. So trying to request the parameters as in the original post will return an error. Try changing the "domain" to youfap.me or something else and it should work.

  3. #3

    Default

    Quote Originally Posted by drzx View Post
    I think the OP is long gone, but I found this post on Google so I'm going to reply anyway in the hope that it helps other people with the same problem.

    The problem is that when linking to adult content, the set of domains that are allowed changes. Content type of 2 is for adult content. Linkbucks.com is for family friendly links. So trying to request the parameters as in the original post will return an error. Try changing the "domain" to youfap.me or something else and it should work.
    Hi, is there a way to get the total earned (not daily earnings) using this API?

    Thanks in advance.

  4. #4
    New Member
    Join Date
    Nov 2014
    Location
    Canada
    Posts
    9

    Default

    Yes!

    You can specify the startDate and the endDate.
    Look at the api docs:

    https://www.linkbucks.com/CreateLinks/Tools/GetEarnings

    Then just add the Earnings and you get the total earnings.
    Last edited by watchnow; 01-16-2015 at 11:09 PM.

  5. #5

    Default

    Quote Originally Posted by watchnow View Post
    Yes!

    You can specify the startDate and the endDate.
    Look at the api docs:

    https://www.linkbucks.com/CreateLinks/Tools/GetEarnings

    Then just add the Earnings and you get the total earnings.
    Thanks for your answer, also is there a way for get the unpaid balance?
    Last edited by kzxm300; 01-17-2015 at 11:23 PM.

  6. #6

    Default

    Quote Originally Posted by drzx View Post
    I think the OP is long gone, but I found this post on Google so I'm going to reply anyway in the hope that it helps other people with the same problem.

    The problem is that when linking to adult content, the set of domains that are allowed changes. Content type of 2 is for adult content. Linkbucks.com is for family friendly links. So trying to request the parameters as in the original post will return an error. Try changing the "domain" to youfap.me or something else and it should work.
    Thank you. Error message should be more clear in that case

  7. #7

    Default

    Quote Originally Posted by watchnow View Post
    Yes!

    You can specify the startDate and the endDate.
    Look at the api docs:

    https://www.linkbucks.com/CreateLinks/Tools/GetEarnings

    Then just add the Earnings and you get the total earnings.
    Thanks. That helps!

  8. #8

    Default

    Very interesting blog. A lot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definitely interested in this one. Just thought that I would post and let you know.
    fireboy and watergirl

  9. #9

    Default

    Exceptionally intriguing online journal. A lot of web journals I see nowadays don't generally give whatever I'm keen on, yet I'm without a doubt intrigued by this one. I recently felt that I would post and tell you.



    DMC 5 Nero Costume Coat

  10. #10

    Default

    Thank you very much for this useful article. I like it. https://www.dailytechnologystudy.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •