How do I get Facebook Group Events into WordPress? - wordpress

The best way I have found to get Facebook Group Events into WordPress is to use Yahoo Pipes to create an RSS Feed. The feed that I have is as follows:
https://pipes.yahoo.com/pipes/pipe.run?Facebook_ID=1608419542769806&_id=1301d12f49b904e56afe3f420366a3c4&_render=rss
This works fine, but when I try to render this on a WordPress page with the Embed RSS plugin, it loads fine in the preview, but once it is inserted into the page, I receive the following error:
RSS Error: A feed could not be found at
https://pipes.yahoo.com/pipes/pipe.run?Facebook_ID=1608419542769806&_id=1301d12f49b904e56afe3f420366a3c4&%23038;_render=rss.
A feed with an invalid mime type may fall victim to this error, or
SimplePie was unable to auto-discover it.. Use force_feed() if you are
certain this URL is a real feed.
Now, I can easily add the following code to my functions.php theme file:
add_action('wp_feed_options', 'force_feed', 10, 1);
function force_feed($feed) {
$feed->force_feed(true);
}
but that just changes the error to:
RSS Error: A feed could not be found at
https://pipes.yahoo.com/pipes/pipe.run?Facebook_ID=1608419542769806&_id=1301d12f49b904e56afe3f420366a3c4&%23038;_render=rss.
This does not appear to be a valid RSS or Atom feed.
Is there something I'm missing? All I want to do is spit out text onto a WordPress page of the Facebook Group Event details.

There are different plugins for facebook streaming . Try the plugin 'custom-facebook-feed' . I think it will be the better option.

Related

Wordpress Facebook Instant Articles not seeing our articles / content

Before the community dismisses this - this is not a repeat of other issues with the Facebook submission process. Were a non-profit looking for help getting this running.
We have many articles on our website but we are not able to get them to appear in https://childmind.org/feed/instant-articles
I am not able to see where you instruct the FB Instant Articles WordPress plugin which content you want to publish e.g. our articles aren't in /blog but rather in /article e.g. https://childmind.org/article/adhd-behavior-problems/
Everything else is configured seemingly properly. Does anyone have an idea?
After we get articles in the feed, we can submit for review.
NOTE: We have edited and saved articles to "trigger" them being added but has not worked.
Articles sound like a custom post type which you need to manually tell the plugin by using a filter for your CPT.
add_filter( 'instant_articles_post_types', 'add_post_types', 10,1 );
function add_post_types($post_type_array){
array_push($post_type_array,'post'); // Standard post "blog"
array_push($post_type_array,'articles'); // The name of your custom post.
return $post_type_array;
}
This should then get pull the articles for the feed as long as everything else has been set up correctly. Taken from a post on the WP Plugin forum.
Note: Also, Facebook have their own validation process once you get this working before you will start to see them on Facebook.

NextScripts SNAP : not using the permalink in wordpress?

This is in a way a followup of this question : Jetpack Publicize: Sharing only on Twitter for a category
I am currently working on a website in which one of the category only serves as a way to curate news on the net and then, share it on the front page and on Twitter.
The post itself is empty, I use a custom field to receive the URL from the user, grab a few things from the target website, update the permalink and save. Upon saving, SNAP publishes the post on Twitter.
My issue is that it is not using the permalink but the url of the post itself (which is absolutely empty). Having a look into the plugin's code, I saw that it was using post metas (most notably urlToUse, snap_MYURL) but couldn't determine if it was a priority issue or something else.
I also try to adjust my code to set these meta values to the url I want, to no avail.
Is there a way I could set my custom functions or the SNAP plugin so that the permalink is used ?
No answer after a week, neither here nor from SNAP's support. No problem.
The ugly patch I used :
Jetpack Publicize for all the Twitter updates
SNAP for the Facebook ones thanks to their ability of posting based on a specific category
It's bloated and I'd love to understand but, sometime, you have to ship

Feed could not be found at link. Why so?

I want to display RSS posts in WordPress. The default RSS plugin lets one see items by adding source. I added valid RSS source, but WordPress gives following error,
RSS Error: A feed could not be found at https://medium.com/feed/#mbertulli. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed.

Variable in feed url in mailchimp

Using mailchimp to send RSS-driven campaigns. Fetching the RSS from a WP installation. This works fine.
In the end of the email I want to add one RSS-item from another source with mailchimps merge tag *|FEED|* as shown in this tutorial: http://kb.mailchimp.com/article/how-can-i-add-any-blog-post-to-a-regular-campaign
I got this to work with a static URL. But I want to use different URL:s depending on the recipient. I've saved the URL:s with mailchimps API in a merge tag called *|USER_FEED_URL|* and I can print this URL perfectly, but is there a way to use the feed tag with my user_feed_url and fetch the RSS?
Tried: *|FEED:*|USER_FEED_URL|*|*
But it only print: *|FEED:http://theuserurl.com/feed|*

Drupal RSS feed links

I'm creating some feeds of news items and such. These items have URL aliases set for them. Is there a reason why the URL alias do not get used in the RSS feed?
I have a multi-language site which uses the path aliases to show correct navigation, and so when I get a 'node' link from the feed, it breaks everything.
EDIT
I'm creating the rss feed as using views
When I do a live preview in the view the correct link is shown. So the incorrect link comes somewhere after that.
Are you creating the feeds using Views? if not you should do it. It may be happening that the code that's returning the feed is printing the links to the nodes without using the l() function so aren't being translated to the corresponding alias.
Just in case, here it's a nice tutorial about how to do a feed with Views http://drupal.org/node/314097

Resources