Api Detail


How To Place New Order :


To place an new order with the API you will need to send a GET HTTPS request to https://followcube.com/api.php with the parameters
listed below:

  • (Your Username)   username
  • (Your API key)   apikey
  • (Order Type ID)   ordertype
  • (Content URL)   orderurl
  • (Order Quantity)   orderqty

Final URL: https://followcube.com/api.php?username=[YOUR_USERNAME]&apikey=[YOUR_KEY]&ordertype=[ORDER_TYPE_ID]&orderurl=[LINK]&orderqty=[QUANTITY]


Note: Please refer to the Service Table at right to get Service IDs.

After the request had been made, our server will reply in JSON format. For Example:

{"status_code":1,"status_message":"Order placed successfully","order_id":12345,"orderid":12345,"amount":1.0000}


status_code means status_message
1 Success Order placed successfully
0 Failed Some error (click here to find out error code)

How To Get Order Status :


To get the order status from the API you have to send a GET request to the API with your API key & the order number of the order.

Example URL: https://followcube.com/api.php?apikey=[YOUR_KEY]&orderid=[ORDER_ID]

Note: You'll get the order status in JSON format.

After the request had been made, our server will reply in JSON format. For Example:

{"status_code":1, "orderid":12345,"status_message":"waiting/processing/completed/refunded","start_count":12345,"remain":12345}

Refund Status Response :

{"status_code":1,"orderid":"123456","status_message":"refunded","start_count":"0","remain":"-","refund_amount":"0.0900"}

{"status_code":1,"orderid":"123456","status_message":"refund","start_count":"0","remain":"-","refund_amount":"refund is under process"}


How To Get Service List :


To get the service list from the API you have to send a GET request to the API with your API key & username.

Example URL: https://followcube.com/api.php?apikey=[YOUR_KEY]&username=[USERNAME]&servicelist=true

Note: You'll get the servicelist in JSON format.

After the request had been made, our server will reply in JSON format. For Example: CLICK HERE



Our API now detect duplicate order :


Note: You'll get the response in JSON format.

After the request had been made, our server will reply in JSON format. For Example:

{"status_code":0, error_code:21, "status_message":"Duplicate Order not allowed, until previous order is not complete."}



How to request for refill : New


To request refill from the API you have to send a GET request to the API with your API key, username, orderid

Example URL: https://followcube.com/api.php?apikey=[YOUR_KEY]&username=[USERNAME]&orderid=[ORDERID]&refill=true

Note: You'll get the response in JSON format.

After the request had been made, our server will reply in JSON format. For Example:

{"status_code":1, orderid:12345, "status_message":"Refill requested"}



Our API now detect link of wrong format :


Note: You'll get the response in JSON format.

After the request had been made, our server will reply in JSON format. For Example:

{"status_code":0, error_code:24, "status_message":"Link format is not valid. Use correct format"}


List of Formats (Use these formats only, otherwise order will not accept.)
Instagram
Instagram Follower https://instagram.com/testusername
https://www.instagram.com/testusername
Instagram Like/View https://instagram.com/p/cbdcbdjk
https://www.instagram.com/p/cbdcbdjk
Twitter
Twitter Follower https://twitter.com/cdjhbshjgu
Twitter Retweet/Favourite https://twitter.com/fdifhsi/status/94705423911340404364
Youtube
Youtube View/Like/Dislike https://www.youtube.com/watch?v=Uj7EPqTQH_U
Youtube Subscriber https://www.youtube.com/channel/UCtYZ0mDIVmUiw3rtQYu6Nsdw
Snapchat
Snapchat Follower https://www.snapchat.com/add/dbed78dg
https://snapchat.com/add/dbed78dg
Linkedin
Linkedin Follower https://www.linkedin.com/company/cbdjkbd
https://linkedin.com/company/cbdjkbd

Error Codes : Updated


Note: You'll get the response in JSON format.

After the request had been made, our server will reply in JSON format. For Example:

{"status_code":0, error_code:22, "status_message":"Wrong Service ID"}


status_code error_code status_message
0 11 Incorrect URL Format
0 12 Bad Authentication
0 21 Duplicate Order not allowed, until previous order is not complete.
0 22 Wrong Service ID
0 23 Quantity is not in range
0 24 Link format is not valid. Use correct format
0 25 Not enough balance
0 31 Wrong OrderID
0 32 Refill already requested
0 33 Refill date is not available
0 34 Refill not allowed