{"id":6773,"date":"2014-04-23T04:00:49","date_gmt":"2014-04-23T04:00:49","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/23\/fatal-error-class-curlfile-not-found-error-in-facebook-php-application-for-upload-photo-to-users-timeline-collection-of-common-programming-errors\/"},"modified":"2014-04-23T04:00:49","modified_gmt":"2014-04-23T04:00:49","slug":"fatal-error-class-curlfile-not-found-error-in-facebook-php-application-for-upload-photo-to-users-timeline-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/23\/fatal-error-class-curlfile-not-found-error-in-facebook-php-application-for-upload-photo-to-users-timeline-collection-of-common-programming-errors\/","title":{"rendered":"&#39;Fatal error: Class &#39;CURLFile&#39; not found&#39; error in Facebook PHP Application for &#39;upload photo to user&#39;s timeline&#39;-Collection of common programming errors"},"content":{"rendered":"<p>I just tried to develop a Facebook application using Facebook PHP SDK. The example code given in Facebook developer site is as below..<\/p>\n<pre><code>        \n\n  \n\n<\/code><\/pre>\n<p>But when I run the program it shows an error <code>'Fatal error: Class 'CURLFile' not found'<\/code>. When searched for the solution I find that the new PHP Facebook SDK doesn&#8217;t have &#8216;CURLFile&#8217; Class. Can anyone help me with the new SDK code to &#8216;Post Photo to the user timeline&#8217;?<\/p>\n<p>Thanks in advance..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just tried to develop a Facebook application using Facebook PHP SDK. The example code given in Facebook developer site is as below.. But when I run the program it shows an error &#8216;Fatal error: Class &#8216;CURLFile&#8217; not found&#8217;. When searched for the solution I find that the new PHP Facebook SDK doesn&#8217;t have &#8216;CURLFile&#8217; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6773","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6773"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6773\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}