Post to facebook status/wall & twitter & LinkedIn etc?

Post non-phpwcms related topics here - but I don't want to see "hey check this or that other cms". Post if you have a point or worthwhile comment, don't post just to increase you post count!
Post Reply
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post to facebook status/wall & twitter & LinkedIn etc?

Post by pSouper »

Hi all,
Has anyone written a mod that posts articles to Facebook, Twitter and LinkedIn etc?
I have a basic RSS posting script that will 'post on save' to and RSS feed and feel confident to extend it Twitter & Facebook but would first check the water to see if anyone is working on it already?
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Post to facebook status/wall & twitter & LinkedIn etc?

Post by juergen »

http://ukw-tagung.com/anmeldungen.phtml

a very simple JS which can be adapted even in article templates, if I know right, the reference to the project itself will pop up if you stay a little while there with your mouse. From there I took the JS
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Re: Post to facebook status/wall & twitter & LinkedIn etc?

Post by pSouper »

Thanks DF6IH,
I think I did not make myself too clear (now that I read my post back). It's not a bookmarking script I was looking for but a mod/hack that posted an article (or the first 100 chars + short URL) to facebook, linkedin and twitter when you save your article in the backend.
imagine if you were adding an article or blog to your phpwcms site and it automatically posted it to you social accounts too? cool right? that's what I'm after.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Post to facebook status/wall & twitter & LinkedIn etc?

Post by juergen »

including Linkshortener ... ;) Yes, a little more system. So no conclusion for this ;)

Juergen
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Re: Post to facebook status/wall & twitter & LinkedIn etc?

Post by pSouper »

I shall look in to it at the weekend.

As I never have time to write nice mod interfaces I will make it with a config file where the account details are held, then find some way of triggering the syndication without hacking the core - this may only be possible with a cron job unless thee is already a mechanism in place like the frontend_init/render for the backend too.

The link shortener would use a bit.ly api or similar.

The mod would store the article ID syndication date while the config file would set the age after which the article should be re-syndicated if modified. This would mean, if you edited an article three times in a day it is only syndicated once - if after two weeks you edit it again, it gets re-syndicated.

I'm thinking that the tweet version would be posted to the facebook status whilst the full article are posted to the wall.

I would be nice to have this integrated in to the article summary block but that is not for me to decide.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Post to facebook status/wall & twitter & LinkedIn etc?

Post by juergen »

Hey, great !

These APIs are in fact Bibles. I took a view in the facebook and twitter API. Lets see what comes up !
Post Reply