channel->item; $link = $day->link; $title = $day->title; $asuw = $day->enclosure; $des = $day->description.'<'; $toket = ('toket_semogg'); // Masukan Tosken mu . hapus file get c0ntent jika kamu menaruh langsung token nya $pecah = explode('>',$des); $pecahin = explode('<',$pecah[1]); $bukak = $pecahin[0]; $judul = $title; $url = "https://graph.facebook.com/me/feed?method=POST"; $ch = curl_init(); $attachment = array( 'access_token' => $toket, 'link' => $link, 'picture' => $asuw, 'message' => $judul, 'name' => '', 'description' => '', 'from' => '', 'created_time' => '', ); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $attachment); $result= curl_exec($ch); curl_close ($ch); print '