Featured post
facebook - What's a good way to integrate FB and Twitter into my commenting system (PHP) -
there many options out there integration.
at moment have comments posted on articles, user types in name , comment. sent moderation queue , displayed when approved.
i want acheive this:
- comment facebook login (ie facebook account listed name w/ avatar)
- comment twitter login (ie twitter account name listed name w/ avatar)
- push comment website twitter , facebook
i go down few paths far know:
- integrate xfbml, don't because find annoying setup , messy.
- integrate facebook comments system, although can't push twitter, or allow me moderate comments backend (as far can tell i'd have login under facebook login dev account moderate comment)
- find php class open auth , integrate both face book , twitter @ once
- find pre-created php class
anyone have solution bias:
a. easy integrate b. lightweight c. free
thanks suggestions in advance.
okay guys, caved in , began writing own simple class. i'm using xfbml i'm not using name spaced tag in doctype, nor using xhtml. 2 things bugged me it. not sure if correct working me in modern browsers.
if interested, here's code. http://pastebin.com/qmgpmjyu
to use it, change app key , secret (either in init function or directly in class).
then call facebook::fetch(); before end of body. can use facebook::user_info() detect if user logged in, , pop in login button if not.
- Get link
- X
- Other Apps
Comments
Post a Comment