Forum Replies Created

Viewing 15 replies - 1 through 15 (of 156 total)
  • Plugin Author Takanudo

    (@takanudo)

    It looks like Facebook does not allow you to get larger images via data provided in the feed anymore. The only way I can see to get the larger image is to make a separate request for each post that contains an attachment. Does anyone know of a way to get the larger image with data provided in the feed?

    Plugin Author Takanudo

    (@takanudo)

    Thank you, Andrew. I have incorporated your fix into version 1.7.3.

    Plugin Author Takanudo

    (@takanudo)

    UPDATED: November 20, 2014

    NOTE: These instructions are for the unmodified 1.7.2 version of the plugin.

    You can modify the php to grab a larger image from Facebook by doing the following:

    1. Open ‘/wp-content/plugins/jsl3-facebook-wall-feed/php/class-uki-facebook-wall-feed.php’
    2. Line 308 is the following:
      $fb_url .= "&fields=from.fields(id,name),privacy,message,name,caption,description,id,created_time,picture,source,link,likes.limit(1).summary(true),properties,icon,story,comments";
    3. Replace it with the following:
      $fb_url .= "&fields=from.fields(id,name),privacy,message,name,caption,description,id,created_time,picture,source,link,likes.limit(1).summary(true),properties,icon,story,comments,object_id";
    4. Lines 535 to 537 are the following:
      if ( isset( $fb_feed[ $i ][ 'picture' ] ) )
          $fb_picture =
              $this->fb_fix( $fb_feed[ $i ][ 'picture' ] );
    5. Replace them with the following:
      if ( isset( $fb_feed[ $i ][ 'object_id' ] ) )
          $fb_picture =
              $this->fb_fix( 'https://graph.facebook.com/' . $fb_feed[ $i ][ 'object_id' ] . '/picture?type=normal' );
      elseif ( isset( $fb_feed[ $i ][ 'picture' ] ) )
          $fb_picture =
              $this->fb_fix( $fb_feed[ $i ][ 'picture' ] );
    6. Save the file
    Plugin Author Takanudo

    (@takanudo)

    Can you go to https://takanudo.com/jsl3-facebook-wall-feed/ and post a comment? I might need to work with you over email to resolve this issue.

    Plugin Author Takanudo

    (@takanudo)

    I apologize for the delay in replying and the fact that I have not had a change to update the configuration guide. Try the following steps in substitution of step 1d.

    1. Go to https://developers.facebook.com/apps
    2. Select the Facebook App you created for the plugin
    3. Select Settings from the menu on the left
    4. Enter the domain where your WordPress site resides in the App Domain box.
      NOTE: Do not prefix your App Domain with www.
    5. You may need to add a Contact Email to get out of Sandbox Mode
    6. Click Add Platform and select Website
    7. In the Website section, add your Site URL. It should be the same as your App Domain except prefixed with https://
    8. Click Save Changes at the bottom of this section.
    9. Select Status & Review from the menu on the left
    10. There is a toggle button at the top of this section next to “Do you want to make this app and all its live features available to the general public?” Set it to YES
    Plugin Author Takanudo

    (@takanudo)

    I was just able to renew my token. Facebook only lets you renew your token once per day. Try waiting 24 hours from your last attempt and try again. If you still run into trouble, you may want to consider creating a new Facebook App for the plugin.

    Plugin Author Takanudo

    (@takanudo)

    UPDATED: August 17, 2014

    NOTE: These instructions are for the unmodified 1.7.2 version of the plugin.

    You can modify the php to grab a larger image from Facebook by doing the following:

    1. Open ‘/wp-content/plugins/jsl3-facebook-wall-feed/php/class-uki-facebook-wall-feed.php’
    2. Line 851 is the following:
      return $result;
    3. Add the following lines before line 851:
      $search = array('_s', '_n');
      $result = str_replace($search, '_b', $result);
      $result = str_replace('s130x130', 'b960x960', $result);
      $result = str_replace('/v/', '/', $result);
    4. Save the file

    Depending on the size you want, replace '_b' and 'b960x960' with the following:

    '_t' and 't75x75' – up to 75 pixels on the longest side
    '_s' and 's130x130' – up to 130 pixels on the longest side
    '_a' and 'a180x180' – up to 180 pixels on the longest side
    '_b' and 'b960x960' – up to 960 pixels on the longest side

    Plugin Author Takanudo

    (@takanudo)

    1. Go to the Facebook Graph API Explorer
    2. If the “Access Token” text box has an access token in it, then clear it.
    3. Copy the access token listed on the settings page for the plugin on your WordPress site and paste it into the empty “Access Token” text box on the Facebook Graph API Explorer.
    4. In the upper right of the Facebook Graph API Explorer is an “API Version” drop down list; select “Unversioned”.
    5. In the text box to the left of the “Submit” button, enter “me?fields=id,name” if it does not already exist.
    6. Click the “Submit” button.

    Try using the “id” listed in the results.

    Plugin Author Takanudo

    (@takanudo)

    My site, takanudo.com, is running WordPress 3.9.1 and version 1.7.2 of the plugin runs without issue. I’m also able to run the plugin on my test site, which is WordPress 4.0 beta 2.

    Plugin Author Takanudo

    (@takanudo)

    I am having trouble reproducing the problem.

    I created a page on my WordPress site and added the Contact Form 7 shortcode. I was able to enter values in the boxes using Safari on my iPad 2 (iOS 7.1.2) and Chrome on my DROID MAXX (Android 4.4). This is using version 1.7.2 of my plugin and version 3.9.1 of Contact Form 7 on WordPress 3.9.1.

    Can you give me more detail as to what specific browser, mobile device, OS version, plugin versions, and WordPress version were used when the problem occurred?

    Plugin Author Takanudo

    (@takanudo)

    NOTE: These instructions are for the unmodified 1.7.2 version of the plugin.

    You can modify the php to grab a larger image from Facebook by doing the following:

    1. Open ‘/wp-content/plugins/jsl3-facebook-wall-feed/php/class-uki-facebook-wall-feed.php’
    2. Line 851 is the following:
      return $result;
    3. Add the following lines before line 851:
      $search = array('_s', '_n');
      $result = str_replace($search, '_b', $result);
      $result = str_replace('s130x130', 'b960x960', $result);
    4. Save the file

    NOTE: Depending on the size you want, replace '_b' and 'b960x960' with the following:

    '_t' and 't75x75' – up to 75 pixels on the longest side
    '_s' and 's130x130' – up to 130 pixels on the longest side
    '_a' and 'a180x180' – up to 180 pixels on the longest side
    '_b' and 'b960x960' – up to 960 pixels on the longest side

    Plugin Author Takanudo

    (@takanudo)

    Facebook does not send the actual event in the feed. However, posts made to the event should be displayed. In the next version of the plugin, I will include event details with posts that are made to an event.

    Plugin Author Takanudo

    (@takanudo)

    What do you have listed for the App Domains and Site URL on your Facebook App?

    Plugin Author Takanudo

    (@takanudo)

    The only way I could replicate the error was by putting a question mark after your Facebook ID. For example, on the settings page for the plugin, I entered the following into the Facebook ID box:

    172343776306627?

    After, I clicked “Save Changes” I got the exact error you are getting when I viewed the widget. Can you make sure there are no extra characters mixed in with your Facebook ID on the settings page for the plugin. The only thing that should be in the Facebook ID box is the following:

    172343776306627

    Plugin Author Takanudo

    (@takanudo)

    What Facebook ID are you using?

Viewing 15 replies - 1 through 15 (of 156 total)