Plugin: Simple Twitter plugin
It adds a “Twitter” option to the user’s profile page admin menu, and with it, a user can enter their twitter account & password.
Once set, other components and plugins can simply call the function tweet($status) and a tweet will be posted to the user’s twitter account.
Please, test away… my twitter followers are tired of receiving numerous test posts…
Read the ReadMe file for instructions
Good to know! Changed the title so that people can find it quicker knowing it is a solution and not a question.
Does anyone have this working? I installed, set my Twitter coordinates, but posts do not show up on Twitter.
It is a helper plugin. It just stores the user’s credentials centrally and provides a function for other plugins to tweet(status) to the user’s account. The plugin in itself will not post anything. My Events plugin uses this functionality to post a tweet about event creation.
I will add some options to maybe automatically tweet the activity feed if the user wants.
UPDATE: Come to think of it, why don’t I add some options to automatically tweet: blog posts, new group creations, profile updates, etc. as a series of check boxes on the twitter settings… hmmm… now you’ve got me going…
@egerrits, I like the sound of that automatically tweet, don’t forget wire…maybe when we get albums plugin it could be tweeted to both twitter & twitpic ! cool
@egerrits This is absolutely what is needed, especially for blog posts.
If you could post to twitter via wire and create a separate page for users followers with avatar & replies then you more or less have twitter integrated!
This all sounds fantastic (even though I myself have yet to really “Get” the whole twitter thing).
One thought though… would it be better for the eg-twitter plugin to remain a simple “helper” plugin, a means of storing the credentials against the extended profile, and write the additional BuddyPress twitter integration as a seperate bp plugin that utilises that helper. That way eg-twitter can become a standard twitter integration point for other BuddyPress plugins as I think Erwin originally envisaged it?
The eg-twitter plugin should be a helper and additional stuff like posting twitter via wire,blog ,profiles updates etc use the eg-twitter for storing credentials I think!
Therefore, any more twitter api can use this helper.
Regardless of how it’s done, the key is to ensure the user has access to the Twitter settings in the Buddypress profile area. Existing Twitter plugins are all managed on the WPMU backend which many of us are trying to avoid.
I think I will keep the helper as is, basic and functional, but add some more functions like getting the user’s tweets, friends etc. and write a more fully fledged twitter plugin that uses the helper and will add the automatic tweets as well as user’s tweets widgets and site wide tweets, friends’ tweets, what have you. More like the helper is the database layer and the new plugin is the interface layer, for those of you who do software development.
I was also wondering if I should redo the eg-twitter plugin as a “eg-social” plugin and just store and have functions for all social networks, such as twitter, facebook, flickr etc. for other plugins to use…
That sounds good…Keep it simple,maybe other developers can make other apps to utilize eg-social like FB status.
After banging my head against the wall for an hour or so I found out that, unfortunately, it is impossible to obtain a user’s facebook login and password and use it to update the user:
Re: Terms of Service rule 2.A.9.vi
[apps cannot] request, collect, solicit or otherwise obtain access to usernames, passwords or other authentication credentials from any Facebook Users, or to proxy authentication credentials for any Facebook Users for the purposes of automating logins to the Facebook Site;
In order for this to work, the user would have to go to a Facebook login screen every time a status is updated, which is a pain-in-the-you-know-what.
Facebook’s out, and you can blame that on Facebook!
Facebook is probably the reason most of us here are developing BuddyPress sites
Forget FB, Let’s work on Buddypress & other social network like twitter LOL.
Like posting to twitter via wire and make a page for followers with avatar & replies!
I am hoping to work for a bit on the twitter plugin this week. I will forgo the \”other\” social network stuff, because the \”other\” social networks do not like third parties (my plugin) asking for their accounts and passwords. For now, Twitter works with CURL, so that\’ll work until they get bought up by Google (which will be the end of Twitter as you know it, anyway).
I will add options to automatically tweet: wire posts, befriending, new groups, new blog posts etc. right from the user\’s profile field options.
Keep an eye on this thread or my webpage for updates.
I’d LOVE to see BuddyPress expanded to display FB friends, FB activity stream, etc. for a person’s friends whether or not they are a user of your website or not. I’m working on expanding a WordPress FB Connect plugin by http://sociable.es right now. I have it displaying all your FB friends and displaying your FB news stream. I need to work on stylesheets to get the stuff to look decent, but I have the core functionality up and running. Check out http://xtremelysocial.com. I want to add Twitter and MySpace support as well and also generate an ATOM feed (actually, better yet an http://activitystrea.ms format) with stream posts from ALL connected social network sites. Kind of like a friendfeed.com type site.
You must be logged in to reply to this topic.