最简单的方法来发送微博分享Tweet和Facebook状态 [英] Simplest Method to Send Twitter Tweet and Facebook Status

查看:100
本文介绍了最简单的方法来发送微博分享Tweet和Facebook状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Twitter的新OAuth的接口,它们的API是现在很多时候比它更复杂。而且我还没有看Facebook的API呢。

With Twitter's new OAuth interface, their API is now many times more complex than what it was. And I haven't even looked at Facebook's API yet.

我想知道如果有是采用一些更高层次,现有code或接口,使这个简单的任务的方法。

What I'm wondering if there is a method that employs some higher-level, existing code or interfaces to make this a simpler task.

我只希望能够做的就是开始代表用户的Twitter的鸣叫或Facebook的份额,并能够控制这些消息的初始文本,从ASP.NET应用程序。

All I want to be able to do is initiate a Twitter tweet or Facebook share on the user's behalf and be able to control the initial text of those messages, from an ASP.NET application.

我发现SO一些类似的问题,但他们没有答案。

I found some similar questions on SO, but they had no answers.

编辑:我知道有一些事情就像2007-06-18和ShareThis,但我需要的东西,这将使我在默认消息的控制。它必须包含具有code特定于当前用户的链接。

I know there are things like AddThis and ShareThis, but I need something that will give me control over the default message. It must contain a link with a code that is specific to the current user.

推荐答案

东张西望了一会儿后,我发现sharethis.com。他们有各种各样的共享按钮,你可以添加到您的网站,发送微博推特,Facebook的股份等。

After looking around for a while, I found sharethis.com. They have various share buttons you can add to your site that send Twitter tweets, Facebook shares, etc.

看起来它也支持选项来控制URL,这样我就可以修改此,包括我需要的任何URL。

It looks like it also supports options to control the URL, so I could modify this to include whatever URL I need.

我还没有想通了,如果我能控制的默认邮件文本。我期待成说。

I haven't yet figured out if I can control the default message text. I'm looking into that.

但好像这可能是完成我想要的最简单的方法。

But it seems like this is probably the simplest way to accomplish what I want.

这篇关于最简单的方法来发送微博分享Tweet和Facebook状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆