问题标签 [xing]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
393 浏览

c# - .NET 中的 OAuth 用于 xing 401

我正在尝试为 xing api 的 C# 中的 OAuth 编写此示例: OAuth with Verification in .NET

当我尝试获取自己的用户信息时,总是会收到错误消息:

无效的 OAuth 签名

任何人的想法?

谢谢

丹尼斯

0 投票
2 回答
1459 浏览

javascript - Xing 访问用户配置文件 API

我需要从服务器端访问 XING 用户配置文件信息。我有用户访问令牌和秘密。尝试以下代码来获取用户信息。但是我收到一些错误消息

试过了

错误消息信息:"{"message":"Invalid OAuth signature","error_name":"INVALID_OAUTH_SIGNATURE"}" 请帮我解决这个问题。

谢谢你。

0 投票
1 回答
4680 浏览

facebook - 如何按姓名、生日、位置等搜索社交网络中的人

我有一个项目,我必须通过社交网络中的某些字段(姓名、生日、位置、教育、电子邮件等)搜索人(例如:Facebook、LinkedIn、Xing、G+,也可能在维基百科中)。

我想使用 Facebook Graph Api 来搜索人,我可以按姓名搜索,但我只能得到用户的名字和姓氏,而不是关于用户的更多信息。

你更喜欢我,按此字段搜索人员并获得结果?

0 投票
1 回答
301 浏览

java - 使用 httpclient 登录 Xing

我在使用 httpclient 登录 xing 时遇到了一些问题。当我手动登录时使用 livehttpheaders 捕获步骤并使用addHeader("Cookie", "...."). 但是一旦我在浏览器中注销,它就不再起作用了。我假设我必须保存 cookie 并在每个帖子或 get 方法中发送它们。我用 BasicCookieStore 试过,但不是所有的 cookie 都被保存了。当我运行这个:

我得到:

但我认为有些饼干不见了。当我手动登录时,会出现更多 cookie s_cc, s_sq, s_vi, s_fid,并且每次登录时都会有 3 个不同:login, xing, and reg_ref 现在我的问题是:我必须做些什么才能获取这些 cookie 并在每种方法中正确发送它们?

0 投票
1 回答
137 浏览

authentication - 使用 Xing 进行身份验证

我的计划是使用 Xing 作为社交登录。我的问题是我找不到 OWIN 自定义身份验证的上帝样本。

对于 Google+,它很简单

我已经创建了一个 Xing App 并从这个 App 中获取了 ID 和 Secret。但是我如何使用这个 id 和 Secret 创建一个自定义身份验证?我该如何使用它?

0 投票
1 回答
321 浏览

android - 通过 Xing 登录 Android

我正在尝试通过 facebook 和 xing 让我的应用程序登录。它可以使用 Facebook API 来做到这一点,但不能使用 xing。

知道如何使用 xing api 做到这一点吗? https://dev.xing.com/plugins/login_with

xing API 为 web 开发者提供了一个插件,但没有为 android 开发者提供一个 jar!

0 投票
1 回答
532 浏览

jquery - How do I set a Share counter for XING, like you do with Facebook etc.?

First time asking here, but after losing my head over this problem for the last days, I had to ask for your help. Basically I need to create the classic social media buttons on a German site, and XING is quite popular there, so I need to do it for it too.

For this project there also needs to be a working counter of the number of shares/likes, and that wasn't a problem for Facebook and Twitter, I just used jQuery to get JSON from graph.facebook.com and urls.api.twitter.com, but XING doesn't seem to have something like that!

On their site they do offer a pre-built Share button just like the others do, and that one has a share counter, but I need to use my custom design.

I even tried to get that default button, hide it and grab the share-counter value to use in my button, but without success, it gives me either UNDEFINED or just nothing.

But I know there must be a way to do it because, for instance, this site does have a working share-counter for XING with a custom style: http://t3n.de/news/recht-homeoffice-620969/

Do you guys have any idea on what I should try?

0 投票
0 回答
186 浏览

ios - XingClient 无法在 ios9 上运行

我使用的客户端与在 iOS 8.4 中使用的客户端相同,但客户端在 iOS 9 中无法运行。

相同的代码在 iOS 8.4 中有效,但在 iOS 9 中无效,我不知道,但奇怪的是我的应用程序停止工作。

从 iOS 9 开始,我们必须在我正在设置的 info.plist 中设置安全密钥,但客户端仍然无法正常工作。

我收到以下错误:

我在 info.plist 中添加了以下代码:

我使用来自以下 URL 的引用代码:

https://github.com/xing/XNGAPIClient

0 投票
0 回答
435 浏览

oauth - XING oauth api 错误 oauth 签名无效

我遇到了xing oauth api的问题。

目前这有效:

  1. 从 xing 获取请求令牌
  2. 重定向客户端以在 xing 进行身份验证
  3. 从 xing 获取回调

现在我必须使用 oauth 令牌和验证器从 xing 获取访问令牌。

我正在使用相同的代码为此生成 oauth 签名,就像我在第 1 步请求请求令牌时一样。

使用此功能,我生成签名:

有人知道吗?

0 投票
1 回答
458 浏览

oauth - Scribe + Xing => 无效的 OAuth 签名

我正在尝试将 scribe 与 XING 一起使用,但我总是得到以下答案:

我有一个有效的登录过程,取回一个oauth_token和一个oauth_verifier并尝试HMACSha1使用签名更改默认选择的 Singature PlainText,但我总是会得到上述结果......

关于为什么会发生这种情况的任何想法?

在上述步骤中,使用默认值DefaultApi10a和from scribe 总是失败...XingApi

编辑 - 代码

第 1 步:获取请求令牌 + 身份验证 url

第2步:在webview中加载auth url +检查重定向url并取消基于回调的重定向

例如,重定向 url 如下所示:http://www.xing.com?oauth_token=a2191ab84c9e0f85cf0c&oauth_verifier=4978

第 3 步:从返回的 url 中提取 oauth_token + oauth_verifier

第 4 步:获取访问令牌 => 失败