By Sean Carney on Tuesday, 27 May 2014
Posted in Technical Issues
Replies 17
Likes 0
Views 879
Votes 0
I am wondering how we can format the output of the EasyBlog auto-posts to facebook. Do you have some documentation about this. I would like to increase the size of the image and the amount of text that is autoposted. It would also be nice to maybe differentiate between the display of the introtext and the rest of the text of a blog so that the same text will not be replicated. I am sure there are many options. Can somebody point me to them. Hopefully they do not require editing some of your core EasyBlog files manually?
The image I have attached shows one blog that 'auto-posted' (actually I clicked the post icon from the backend) and it shows my layout. I would prefer the autopost to look more like what I have above it with a larger image. And, do not want to display the title twice. :-)
Hey Sean,

You can configure the number of characters that EasyBlog would use to send to Facebook in the auto posting configuration area. However, you can't really customize the image size though
·
Tuesday, 27 May 2014 03:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for pointing me to the right place. I believe my problem was that I had the settings to take the content from the Introtext instead of the content. Since my bloggers are not using introtext that explains why I was not getting content. :-)
Unfortunately though I believe we may still have a problem because I have not been able to change the setting for "Where should the excerpt of the blog post be extracted from to post to Facebook?" from Introtext to Content. I just did a test post with the blog titles "Taming the Cravings" but discovered that there was no change. So, I logged into my ES backend and discovered that the option to change to Content did not work. I tried it a few more times. It is still not working.
I deleted the post from the facebook page at https://www.facebook.com/starchsmart and you are welcome to repost it when you figure out how to change the preference to Content instead of Introtext.
Once we figure out how to do this I will also want to do it to my site at http://www.drcarney.com :-)
Thank you,
Sean
·
Tuesday, 27 May 2014 08:08
·
0 Likes
·
0 Votes
·
0 Comments
·
OK. I figured out how to do it. You cannot change and save the settings within the Step by step guide. But, you can change the settings within the Standard Settings. However, even after making the change it did not work. I just published the Blog Post "Is eating meat macho?" which did not display any of the content text.
·
Tuesday, 27 May 2014 09:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean Carney,

Sorry for late reply to this,
Unfortunately that was no option to change your Facebook message (blog title) to be blog content, so i have help you change the code in this file
Joomlafolder\components\com_easyblog\classes\facebook\helper.php
LINE 216

'message' => $blog->title,

//replace with

'message' => $text,

Check my screenshot below.
·
Tuesday, 27 May 2014 12:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Very nice. Thank you for doing that. I do worry that those changes will be over-written in the future by an update. So, hopefully you are also having plans there to maybe add some more options to this configuration. Actually in my opinion, in a perfect world there would be control for the length of characters to display from the introtext and the length of characters to display from the content. Then a lot of the look would be up to us dependant on where we put the Readmore link to separate the introtext from the content. If there is NO readmore link then I supposed everything would be considered as introtext.

Also, I am wondering if you are planning to change (fix?) the autopost setting that seems to not work? Or is it maybe working and the reason I can't set it to "Content" is maybe because I am not using a Readmore to separate introtext from Content?

Thanks for all your help,
Sean
·
Tuesday, 27 May 2014 22:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean Carney,

Sorry for late reply to this,
I have checked our code, by default the database only store the blog post content in introtext column, so you have to select the introtext option from your Easyblog autopost configuration setting and see is it work for you?

Yes, I will add this suggestion in our Easyblog request feature list and see how it goes.
·
Wednesday, 28 May 2014 16:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much for checking. I wonder why "content" is an option in the auto-post settings? I do hope you will let people see the image I provided and see if you can figure out how to remove the duplication from each post!
·
Wednesday, 28 May 2014 19:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

Some users uses the read more line and some others leave the truncation done automatically. So we cannot for sure identify which content source you would like to use. Hence, it was made configurable
·
Thursday, 29 May 2014 00:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Interestingly for me there was no ability to choose the option of Content. Can you explain why that is happening. Is it maybe because I am not using the Read More links so it assumes that all of my text is Introtext? I somehow doubt that but figure there is a good reason. :-)

Also, I am attaching an image that I think you all may want to consider that shows how some of the text from my EasyBlog Posts is actually being DUPLICATED within every EasyBlog posting to Facebook. This does not seem like the cleanest, smartest way to present these! And, generally StackIdeas is all about Clean and Smart! :-) Again, maybe this is because I am not using the Read More so it replicates my text instead of showing some content from the introtext and some from the content (ie. before and after the Read More...
·
Thursday, 29 May 2014 09:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Funny I keep trying to add an attachment but then can't see it. Trying again.
I wrapped boxes around the repetitive text.
·
Thursday, 29 May 2014 10:50
·
0 Likes
·
0 Votes
·
0 Comments
·
OK. Sorry to write yet another post here but I just discovered something else that is broken for my site with the EasyBlog Autoposting to Facebook which is that the URLs being used are not using the perma-link URLs and so my pages are not displaying properly.

The last three automatic blog posts to my site have the following links:
Starch-Smart Bloggers Getting Facebook Exposure
goes to:
https://www.starch-smart.com/component/easyblog/?view=entry&id=19
But I would think it should go to:
https://www.starch-smart.com/blog/entry/starch-smart-bloggers-getting-facebook-exposure

Here is another one:
Ken’s Type-1 Diabetes Journey Part 3: What is Type-1 Diabetes?
goes to:
https://www.starch-smart.com/component/easyblog/?view=entry&id=28
But, I would think it should go go:
https://www.starch-smart.com/blog/entry/ken-s-type-1-diabetes-journey-part-3-what-is-type-1-diabetes

The difference in both these cases is that the perma-link urls are displaying my banner that shows on all blog pages while the urls with component in them do not.
·
Thursday, 29 May 2014 11:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean Carney,

Sorry for late reply to this,
Regarding with "Interestingly for me there was no ability to choose the option of Content. Can you explain why that is happening." problem :
When you select the "content" option from Easyblog facebook autopost setting, it will not show the content in Facebook is because the content column is empty from the #_easyblog_post, and we will see which is the best way made to the configurable in the future.

Regarding with your perma-link URLs problem :
If you publish post from backend, thus the URL generated did not go through SEF, but you need to publish the post in frontend if not it will not go through in SEF, because the SEF does not run in backend and the URLs are not processed.

Hope this help.
·
Thursday, 29 May 2014 15:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Interesting. As far as I know there is no way to publish a blog ti Facebook from the front end if it has been published previously in EasyBlog. I tried to unpublish and then republish one but it did not work. What I was doing was trying to 'catch-up' all of our blogs onto our Facebook page. But, I won't do that any more since every one of them is using the urls that are broken because they have not gone through SEF. I was not able to fix the URLS by assigning my template theme to the component so I am going to need to try to fix all of those broken URLs using the built in Joomla redirects. Not too convenient but it was worth a try. Unfortunately they did not seem to redirect. Maybe the component urls won't redirect?

Is there any way you could possibly make those back-end submissions also use the SEF urls? That seems like the way it should actually work. Otherwise I guess I need to go to my Facebook page and delete a LOT of the posts because they were posted from the back end using the Auto Posting button and I did not know that the URLs would all become broken. They resolve but they don't show my banners.
·
Friday, 30 May 2014 01:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Here are the buttons that I click on from the backend that post the component urls instead of the SEF urls. We need to warn people to be careful here because these component urls are also duplicate urls.
·
Friday, 30 May 2014 03:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean,

Sorry for late reply to this,
As I have mentioned before actually if you publish the blog post from backend, it will not process the SEF send to Facebook, check my screenshot below.

What my screenshot mean is that only 1 way publish the blog post from frontend it only can made it to SEF url when you do the autopost to Facebook, Hope you understand.
·
Friday, 30 May 2014 14:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes thank you. I understand. :-)
I do wish the backbend was able to post to facebook using the SEF urls!
Is that in any way technically possible? or is that a limitation imposed by the Joomla architecture?
If there was any way to do this the post to facebook button on the backbend would become helpful.
Thanks Sean
·
Friday, 30 May 2014 20:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sean Carney,

Sorry for late reply to this,
thanks for your understand, but that was not possible to do that from backend
You can look when you access any setting/blog post page in your Joomla backend, the URL also not showing to SEF url.
They might limitation imposed by the Joomla architecture.
·
Saturday, 31 May 2014 00:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post