An API key is required to use the API service.
API Key
Once you receive an API key, you can use all services provided by FOR2Solution.
Application for API key issuance
Register Work Usage
API DATA Post Send
POST Data
api_key = YourApiKey
url = Work Url
keyword = searching keyword
search = Number of Search to work with
like = Number of Like to work with
scrap = Number of Scrap to work with
comment = Number of Comment to work with
work_delay1 = work delay 1
work_delay2 = work delay 2
read_time1 = work read time 1
read_time2 = work read time 2
use_value1 = Custom Value 1
use_value2 = Custom Value 2
$post_field = API POST DATA
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://api.for2solution.com/work_in.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_field);
curl_setopt($ch, CURLOPT_POST, true);
$response = curl_exec($ch);
curl_close ($ch);
POST Field Manual
Name | Type | Default | Description |
---|---|---|---|
api_key | String | Not Default | Your API Key |
URL | String | Not Default | Yout Work Url Ex)https://www.instagram.com/p/xxxxxxxxx/ |
keyword | String | Not Default | Sarching Keyword Or Hash Tag |
search | Number | 0 | View counters to work with |
like | Number | 0 | Like counters to work with |
scrap | Number | 0 | Scrap counters to work with |
comment | Number | 0 | Comment counters to work with |
work_delay1 | Number | 300 | Minimum delay between operations in seconds |
work_delay2 | Number | 600 | Maximum delay between operations in seconds |
read_time1 | Number | 120 | Minimum waiting time in seconds after accessing URL |
read_time2 | Number | 180 | Maximum waiting time in seconds after accessing URL |
use_value1 | String | Not Default | user-defined value (Used when matching lists) |
use_value2 | String | Not Default | user-defined value (Used when matching lists) |
Register Work Return Json
return data Json
{ "retcode": "0", "Work_Key": "33", "api_point": "5218521" }
Return Json Manual
Name | Type | Description |
---|---|---|
retcode | Number |
0=Success 1=Not enough points 2=Quantity error 3=URL error 4=Other field value errors |
Work_Key | Number | API server matching key value |
api_point | Number | Points you have |
Work Comment Send
POST Data
api_key = YourApiKey
Work_Key = Work Key
comment_arr[] = comment1
comment_arr[] = comment2
comment_arr[] = comment3
comment_arr[] = comment4
comment_arr[] = comment5
................................
$post_field = API POST DATA
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://api.for2solution.com/comment_in.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_field);
curl_setopt($ch, CURLOPT_POST, true);
$response = curl_exec($ch);
curl_close ($ch);
Comment Send Manual
Name | Type | Description | |
---|---|---|---|
api_key | String | Not Default | Your API Key |
URL | Work_Key | Not Default | Work Send Return Json 'Work_Key' |
comment_arr[] | String | Not Default | Comment Content (Max 100 Array) |
Get Work List
POST Data
api_key = YourApiKey
work = progress or completed
use_value1 = Custom Value 1
use_value2 = Custom Value 2
$post_field = API POST DATA
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://api.for2solution.com/get_work_list.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_field);
curl_setopt($ch, CURLOPT_POST, true);
$response = curl_exec($ch);
curl_close ($ch);
Post Data Manual
Name | Type | Description |
---|---|---|
retcode | Number |
0=Success 1=Not enough points 2=Quantity error 3=URL error 4=Other field value errors |
Work_Key | Number | API server matching key value |
api_point | Number | Points you have |