I have the following code
$api = new Dailymotion();
$api->setGrantType(
Dailymotion::GRANT_TYPE_PASSWORD,
$apiKey,
$apiSecret,
array(),
array(
'username' => $username, // don't forget to sanitize this,
'password' => $password, // never use POST variables this way
)
);
$store = $api->get(
'/playlist/'.$playlist_id.'/videos?limit=10&page='.$pageNumber,
array('fields' => array('id', 'title','owner','channel','url','private_id','poster','thumbnail_url','duration')));
Before 3 days this code It worked very fine fine, but now retrieves empty list for private videos from my list on dailyMotion?
Try to see if at least connection to your playlist exists by making a call like this with your own playlist id https://api.dailymotion.com/playlist/x3ecgj/videos?limit=1&page=1.
From your comment it seems, your playlist doesn't have any videos and it is clear now I hope. That is why you are getting back an empty list.