Your cart is currently empty!
If you are creating a affiliate website using WordPress or core PHP here is something for you. We have created and tested flipkart affiliate API which fetch products.
Steps to Create PHP Get Product Code
- You need Fk-Affiliate-Id and Fk-Affiliate-Token to proceed from Flipkart Website
- Check your API status here
PHP code here
<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://affiliate-api.flipkart.net/affiliate/1.0/search.json?query=sony+mobiles&resultCount=5", CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => array( "Fk-Affiliate-Id: sa******", "Fk-Affiliate-Token: d********************8" ), )); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl);
As you can see I have passed two search queries in code “Sony mobile” and Result “5” you can customize it as well.
Comments
Grabber Pro
Original price was: $59.$39Current price is: $39.Insertcart Custom WooCommerce Checkbox Ultimate
Original price was: $39.$19Current price is: $19.Android App for Your Website
Original price was: $49.$35Current price is: $35.Abnomize Pro
Original price was: $30.$24Current price is: $24.Medical Portfolio Pro
Original price was: $31.$24Current price is: $24.
Latest Posts
- How to Handle Sudden Traffic Spike in Website – Do Node Balancer Really Help
- How to Use AWS SES Email from Localhost or Website: Complete Configuration in PHP
- How to Upload Images and PDFs in Android Apps Using Retrofit
- [Fix] File Permission Issue in Apache Website WordPress Not Writable to 775
- Best PHP ini Settings for WordPress & WooCommerce: Official Recommendations
Leave a Reply