Open abhi2411 opened 8 years ago
Have you tried changing $token and $user in feed.php. These values you can get from flipkart affiliate website after you create an affiliated account.
It the above $token and $user values are passed correctly. then you might want to change the below code in 'firstURL.php'
$variant = $data['apiGroups']['affiliate']['apiListings']['televisions']['availableVariants'];
return $variant['v0.1.0']['get'];
As you can see here we are hardcoded to get a specific portion of returned data(from flipkart affiliate website) so in order to get this right you have to analyse the returned json object and return specific portion of the data as per your needs.
db connection does return any value and same is happening with other program also