Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

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.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -