Automattic / Automattic/jetpack

Publicize: remove link from Facebook update for "Post" update types.

Open
#5,384 36 comments 4 reactions 0 assignees View on GitHub
[Feature] Publicize Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

1. Connect Publicize to a Facebook Page.
2. Install, configure, and connect [the SNAP plugin](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/) to that same Facebook Page.
3. Configure and Connect the WordPress and Facebook channels on [IFTTT](https://ifttt.com/wordpress).
4. Publish a new post.

Here is how the Publicized post looks like:

![screen shot 2016-10-20 at 10 13 30](https://cloud.githubusercontent.com/assets/426388/19552188/1b884782-96af-11e6-8014-38318ae84614.png)

Here is how it looks like when posted via SNAP:

![screen shot 2016-10-20 at 10 13 13](https://cloud.githubusercontent.com/assets/426388/19552205/2cb1329e-96af-11e6-80cc-9c8684f45e30.png)

And here is how it looks like when posted via IFTTT:

![screen shot 2016-10-20 at 10 13 40](https://cloud.githubusercontent.com/assets/426388/19552220/3a08e91e-96af-11e6-8c5c-88b40e97acf1.png)

A few things differ here:
1. Publicize added an automated post excerpt as I didn't specify a custom Publicize message. That's the expected behaviour.
2. Both SNAP and IFTTT allow you to customize the default template used for the message. That's something we'll address in #261, as Publicize would benefit from such templates and placeholders.
3. **Both SNAP and IFTTT remove the post URL from the message after passing it to Facebook. That's something we don't do, but it appears we could do**, and it wouldn't stop Facebook from building the post preview. We just have to keep in mind that the link should remain for Image, Gallery, and Video update types, where there is no post preview below the message.

Contributor guide

Open the contributing guide

Research direction

Start at the Publicize handling for Facebook "Post" update types and trace how the post URL is added to the message. Reproduce the issue using the Publicize, SNAP, and IFTTT setup described above, then verify that Post messages omit the URL while Image, Gallery, and Video messages retain it.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.