skip to Main Content

How to remove the embedded formatting of an UTF-8 string?

I'm querying the Facebook API in PHP to get a list of posts and display it on a website. // $facebook is an instance of FacebookFacebook $response = $facebook->get('posts?fields=id,message,created_time,full_picture,permalink_url,status_type&limit=20'); $graphEdge = $response->getGraphEdge(); $posts = []; foreach ($graphEdge as $post) {…

VIEW QUESTION
Back To Top
Search