Title: Facebook Feed breaking
Last modified: November 2, 2016

---

# Facebook Feed breaking

 *  Resolved [bwilcox](https://wordpress.org/support/users/bwilcox/)
 * (@bwilcox)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/facebook-feed-breaking/)
 * I’ve run into some trouble with the Facebook feed breaking when I try to update
   it. The issue seems to be coming from the Facebook Access Token. Occasionally,
   the Access Token transient gets saved as an empty string in the database. When
   the Facebook Cache Manager tries to fetch that transient with this line of code:
 *     ```
       if (false !== ($access_token_transient = get_transient(FlowFlow::$PLUGIN_SLUG_DOWN . self::$postfix_at))){
           $access_token = $access_token_transient;
       }
       ```
   
 * It returns an empty string instead of false, and then tries to use it to fetch
   Facebook posts, which returns an error.
 * I’ve found a fix to the problem by changing that line of code to this:
 *     ```
       if (false != ($access_token_transient = get_transient(FlowFlow::$PLUGIN_SLUG_DOWN . self::$postfix_at))){
           $access_token = $access_token_transient;
       }
       ```
   
 * which causes the empty string will also be evaluated as false, but I’m wondering
   if there’s a fix in the works or something I can do to prevent the empty string
   from getting saved in the first place.
 * Thank you
    -  This topic was modified 9 years, 8 months ago by [bwilcox](https://wordpress.org/support/users/bwilcox/).
    -  This topic was modified 9 years, 8 months ago by [bwilcox](https://wordpress.org/support/users/bwilcox/).

The topic ‘Facebook Feed breaking’ is closed to new replies.

 * ![](https://ps.w.org/flow-flow-social-streams/assets/icon-256x256.png?rev=2414430)
 * [Flow-Flow Social Streams](https://wordpress.org/plugins/flow-flow-social-streams/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flow-flow-social-streams/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flow-flow-social-streams/)
 * [Active Topics](https://wordpress.org/support/plugin/flow-flow-social-streams/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flow-flow-social-streams/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flow-flow-social-streams/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bwilcox](https://wordpress.org/support/users/bwilcox/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/facebook-feed-breaking/)
 * Status: resolved