.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Displaying Twitter Pages in Power.com

Posted By: Venkat     Posted Date: September 11, 2009    Points:2   Category :ASP.Net
.
Hi,
I am wondering how Power.com is able to display Twitter Pages in their website/pages. As far I know Twitter breaks Iframes as they use some JavaScript(Frame breaker scipt) to break frames.

Would you please let me know if you have any idea on this?

Many Thanks,
Regards,
Venkat. .

Responses
Author: Venkat             
Posted Date: September 11, 2009     Points: 5   

HI,

As we know that twitter releases API to display message in your webpage. You can donwload the another API provided by Yedda

http://devblog.yedda.com/wp-content/uploads/2007/05/yeddatwitter-v01.zip

Now

Download the wrapper from Yedda. Unzip the files and you can play around with the project.

Now


Step 1) Create a new class name TwitterWrapper in my App_Code
Step 2) Copy the code from Twitter.cs and paste in TwitterWrapper.cs


For twitter your message:

string xmlOutput = "";
string TwitterUserName = "username";
string TwitterPassword = "password";
string TwitterMessage = "Hello twitter";

if (TwitterUserName != "" && TwitterPassword != "")
{
try
{
TwitterWrapper twitter = new TwitterWrapper();
xmlOutput = twitter.Update(TwitterUserName, TwitterPassword, TwitterMessage, TwitterWrapper.OutputFormatType.XML);
}
catch (Exception ex)
{ }
finally
{ }
}

Full post your can find here

http://dotnetfish.blogspot.com/2007/10/aspnet-wrapper-for-twitter-api.html

Mark As Answer if this solve your problem
Warm Regards,
Venkat
Author: Venkat             
Posted Date: September 15, 2009     Points: 5   

Hi,
Thank you very much for the help and reply.

I still have a small query. That is Power.com is also displaying the pages of Hi5, Orkut, and LinkedIn etc. along with Twitter. You mean for these sites also Power.com is using respective APIs?


Looking for your help.
Regards....

Author: Amit Mehra             
Posted Date: September 17, 2009     Points: 5   

HI Venkat,

Yes you are right Venkat...Every social networking website have their APIs for developer to integrate their module in your application

Thanks,
Amit
Please "Mark As Answer " if this post help you.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend