TÀI LIỆU KẾT NỐI
Hướng dẫn sử dụng API
Cách kết nối API một cách nhanh chóng
Nếu IP của bạn bị chặn bởi clouldfare hãy liên hệ để được hỗ trợ.
URL API: https://like167.pro/api/price.aspx
METHOD: POST,GET
Danh sách dịch vụ và giá
Để lấy tất cả danh sách dịch vụ và giá:{"api_token":"API_TOKEN"}
Để lấy từng dịch vụ và giá:
{"type_api":"facebook.buff.like","api_token":"API_TOKEN"}
URL API: https://like167.pro/api/v2/server.aspx
METHOD: POST
Mua dịch vụ
Để mua dịch vụ:{ "uid":xxxxx,"url":"https://www.facebook.com/xxxxx/posts/xxxxxxx","channel":1,"type":1,"max":100,"rate":17,"type_method":"add","type_api":"facebook.buff.like","api_token":"API_TOKEN"}
Trường rate có thể có hoặc ko,nếu rate thấp hơn thực tế thì sẽ báo lỗi. dùng để check giá nếu hệ thống nâng giá dịch vụ sẽ ko bị bán lỗ.
Danh sách đã mua
Để lấy list dịch vụ đã mua:{"type_method":"view","type_api":"facebook.buff.like","api_token":"API_TOKEN","limit":1000}
Tra cứu theo ID
Để lấy dịch vụ đã mua theo id:{"id":xxx, "type_method":"view","type_api":"facebook.buff.like","api_token":"API_TOKEN"}
Tra cứu nhiều ID
Để lấy dịch vụ đã mua theo list id:{"ids":"id1,id2,id3,...", "type_method":"view","type_api":"facebook.buff.like","api_token":"API_TOKEN"}
Hủy dịch vụ
Để hủy dịch vụ:{ "id":17,"type_method":"del","type_api":"facebook.buff.like","api_token":"API_TOKEN"}
RESPONSE: JSON
Phản hồi thành công
Mã phản hồi thành công:{ "code":200,"message":"xxxx","id"=>"xxxx","service_code":"xxxx","service_id":"xxxx"}
Phản hồi thất bại
Mã phản hồi thất bại:{ "code":500,"message":"xxxx"}