Skip to:
Content
Pages
Categories
Search
Top
Bottom

Plugin: Simple Twitter plugin

  • @egerrits

    Participant

    Up on my website http://www.erwingerrits.com/?page_id=799 I uploaded a simple Twitter plugin, as discussed on thread http://buddypress.org/forums/topic.php?id=1333

    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

Viewing 21 replies - 1 through 21 (of 21 total)
  • @trent

    Participant

    Good to know! Changed the title so that people can find it quicker knowing it is a solution and not a question.

    Trent

    @egerrits

    Participant

    You’re so helpful =)

    @scotm

    Participant

    Does anyone have this working? I installed, set my Twitter coordinates, but posts do not show up on Twitter.

    Cheers

    @egerrits

    Participant

    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…

    @gpo1

    Participant

    @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

    @scotm

    Participant

    @egerrits This is absolutely what is needed, especially for blog posts.

    Thx

    @gpo1

    Participant

    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!

    @conceptfusion

    Participant

    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?

    @gpo1

    Participant

    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.

    @scotm

    Participant

    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.

    Cheers

    @egerrits

    Participant

    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…

    @gpo1

    Participant

    That sounds good…Keep it simple,maybe other developers can make other apps to utilize eg-social like FB status.

    @egerrits

    Participant

    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!

    @conceptfusion

    Participant

    Facebook is probably the reason most of us here are developing BuddyPress sites ;-)

    @gpo1

    Participant

    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!

    @scotm

    Participant

    Any news on this initiative?

    @egerrits

    Participant

    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.

    @gpo1

    Participant

    YES !!!! maybe add another page for your followers tweets..

    @scotm

    Participant

    Great news!

    @timnicholson

    Participant

    Erwin, it sounds like you are barking up the wrong tree with Facebook. I’m an FB app and connect developer and you don’t need to get anyone’s user ID and password. You connect their FB account with your website via the FB Connect javascript libraries and then you have access to their friends, etc. using the generated session key. All that TOS stuff you posted is just saying you can’t ask a user for his FB password and store it. You don’t need to know that person’s FB password to access their social graph.

    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.

    @djpaul

    Keymaster

    Good update, but you’ve responded to a 6-month old thread :) I am going to close this thread as probably the original poster isn’t going to read this thread any more, as it has been marked as ‘resolved’.

Viewing 21 replies - 1 through 21 (of 21 total)
  • The topic ‘Plugin: Simple Twitter plugin’ is closed to new replies.
Skip to toolbar