c# social management - c#

I was wondering, is there a way I can create an application which for example updates both my facebook and my twitter at the same time?
So for example I have a GUI which has a similar interface as my facebook profile (or whatever), and I want to post a comment on my profile through my GUI, so I write a line in a GUI textbox, press apply and it adds the post to my facebook profile and at the same time to my twitter for example.
I know this sounds silly since u can media link both pages, but that's not my true goal, I'm just wondering if this is possible so I can extend it to other facebook services.

See
facebook API
twitter API
And (.NET related) :
C# Facebook API
C# Twitter API(unofficial)

Yes, it is definitely possible. You would have to use the APIs exposed by Facebook and Twitter. You can then post let's say status on both twitter and facebook by calling update status related APIs of both Twitter and Facebook on the apply button click event.
You can use this for Twitter and this for Facebook both are C# clients for Twitter and Facebook respectively.

Yes it is. I don't see how this wouldn't be.
Also, I suggest you have a look at Seesmic Desktop for an application that does that which use Silverlight.

Related

Is there a way to recommend (share) a show to your friends from an Xbox app

I am developing an UWP app for xbox one. Is it possible to share a link from my app to my friends (Facebook, Twitter...etc)?
Just take Facebook as an example, if you want to share a link from your app to Facebook, you can try to use the Facebook api. This Windows SDK for Facebook teaches you how to start and you can use FBSession.ShowFeedDialogAsync() method to share the link. About the specific steps, you can refer to this document.

integrate facebook comment box to xaml (windows 8 store apps) C#

I am trying to embed Facebook comment box in a windows 8 store app. Is it possible to directly integrate the comment box or are there any other alternative solutions?
What I am trying now >>>> create a web page and add the Facebook comment box to webpage. Then access the webpage that I created through a Webview control. But when I try to login to Facebook using the comment box's link, it will not open the login dialogue inside the webview but it opens the browser where my windows 8 Store app pulled to the background.
I would recommend that you use the Facebook API, as recommended by another SO user answering a similar question
There is a Facebook API for Windows 8
You can find an example on Github here
I haven't tried this API, but did a WPF app using a similar API and it's usually straight forward.
If you would like to, and I know you didn't ask about that - this is just a tip, there is a web authentication broker in the WinRT API's to enable single sign on (SSO) connections to OAuth providers like Facebook etc.
You can find a sample here
Hope this helps, best of luck.

How to post a single tweet in C#

I am trying to post a single tweet in my Windows phone application to any twitter account. I don't want to complicate my code using external libs or APIs. If they are unavoidable, I will include. I don't need to read any tweets or need to persist my connection. Its simple, The user supplies a username, password and a tweet message and hits tweet.
The famous temple run in iPhone has exactly what I need (screenshot below).
Please guide me in C#
This is possible via XAuth. The technique is not straight forward though, your request will have to go through the Twitter API team and once they approve they will give the xAuth Access. See this other SOF answer for more details.
If you want to integrate it like in you screenshot I think you need to communicate with the API yourself.
But there is the ShareStatusTask in the Microsoft.Phone.Tasks namespace.
With that users can share your status to the social media they configured.
Also check: http://msdn.microsoft.com/en-us/library/hh394027(v=vs.92).aspx
You have two choices:
use the built-in ShareStatusTask
roll your own system.
The advantage of ShareStatusTask is that it is simple to implement and maintain.
For the user it is also a good solution as it will allow him to post the status on the social network of its choice and it avoids forcing him to authenticate again.
If you want to roll your own system, you'll have to deal with different problems:
user authentication (OAuth)
maintenance (sometimes Twitter like to change the way 3rd party apps
interact with them...)
Here is a tutorial that explains how to implement Twitter in a Windows Phone app.
Also Tweetsharp is a nice Twitter lib you can use

Facebook Dummy application

I want to create a duumy application in which the user which is logged in(facebook) see his own facebook friend list and their details like gender, status, wall post etc. on my own application using Graph API?.
Is it possible if Yes then please suggest me how is it?
thanks
Yes, this is possible through connecting your application with Facebook's API. Your question is pretty general so I would recommend that you start reading the documentation and then ask a more specific question if you run into any problems.
External links:
Facebook Documentation
Facebook C# SDK

facebook and twitter in .net

can any one give the demo
how to implement facebook like box( single sign - on) and twitter's tweets for a web application using .net(c#)
You can read this article about how to implement facebook login in a .net web application. If you want to display tweets on your page, you basically just add some javascript to your page. See the twitter API wiki for more info.
Adding the Facebook like box to your page is really easy, you can check out the Facebook Developers Reference, there's even a 'Get Code' button to get the necessary code.
All you need to do is add a script reference and a <fb:like> tag, all the options are in the above link.

Categories

Resources