title: Facebook Graph API Search Issue
body: <p>I created a search bar that uses the graph API and it worked fine until about a month ago. You could type something into the search bar, and get info back from Facebook related to your search parameter. It stopped working for some reason. So I went to my browsers search bar to type in a graph search manually like this-</p>
  
  <p><a href="http://graph.facebook.com/search?q=zombies" rel="nofollow">http://graph.facebook.com/search?q=zombies</a></p>
  
  <p>This doesn't work anymore either and I get an error message that says this-</p>
  
  <p>{
     "error": {
        "message": "(#200) Must have a valid access_token to access this endpoint",
        "type": "OAuthException",
        "code": 200
     }
  }</p>
  
  <p>Was there an update that made my search stop working? I've been reading Facebook's documentation and I can't find what I'm looking for. Can someone help me get this working again? My search is located at <a href="http://ericnaff.com/html5/p3" rel="nofollow">http://ericnaff.com/html5/p3</a>. Here's my script that I am using-</p>
  
  <p>function searchFB(userSearchparameter) {</p>
  
  <pre><code>$.getJSON('https://graph.facebook.com/search?q=' + userSearchparameter + '&amp;type=post&amp;callback=?', function(fbResults){
      $.each(fbResults.data, function() {
          // Data Templating
          $('&lt;article class="fbResults"&gt;&lt;/article&gt;').append ( 
  
              '&lt;section class="resultsSource"&gt;&lt;h6 class="shareHeader"&gt;' +
              '&lt;img class="fromUser" src="https://graph.facebook.com/' + this.from.id + '/picture" height="50" width="50" alt="' + this.from.name + '"&gt;' +
              '&lt;a href="http://www.facebook.com/' + this.from.id + '" class="fromName"&gt;' + this.from.name +'&lt;/a&gt; shared a &lt;a class="typeLink" href="' + this.link + '"&gt;' + this.  
              type + '&lt;/a&gt; &lt;/h6&gt;' +
              '&lt;time class="createdTime" datetime="' + this.created_time + '"&gt;' + fuzzyFacebookTime(this.created_time.replace(/-/g,'/')) + ' &amp;middot;&lt;/time&gt;' +
              '&lt;img class="typeLinkIcon" src="' + this.icon + '" alt="icon"&gt;&lt;/section&gt;' +
              '&lt;section class="resultsDescription"&gt;&lt;h6&gt;&lt;a class="shareLink" href="' + this.link + '"&gt;' +
              '&lt;img class="sharePicture" src="' + this.picture + '" height="90" width="90" alt="' + this.from.id + '"&gt;' +
              '&lt;span class="shareName"&gt;' + this.name + '&lt;/span&gt;' +
              '&lt;span class="shareCaption"&gt;' + this.caption + '&lt;/span&gt;' +
              '&lt;span class="shareDescription"&gt;' + this.message + '&lt;/span&gt;' +
              '&lt;/a&gt;&lt;/h6&gt;&lt;/section&gt;' +
              '&lt;iframe class="linkShare" src="http://facebook.com/plugins/like.php?href=' + this.link + '"&gt;&lt;/iframe&gt;'
          ).appendTo('body');
  </code></pre>
  
  <p>I know it says I don't have the correct access token in my error, but it never used one in the first place and worked fine. If I need to add one, where would I want to include that? Thanks!</p>