问题标签 [social-framework]
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.
ios - 获取 Facebook 帖子的故事详情
可能是已经回答了,我正在寻找错误的东西。
我正在尝试通过社交框架在 iOS 中显示登录的 facebook 用户的主要提要。
首先我得到所有最近的帖子
然后我收到了帖子。但它们也包含类似的故事
然后我尝试获取这篇文章的详细信息
对于帖子 ID,我使用来自 rootdoc 的 id 值(不是 from 或 story_tags 部分之一)。
当我这样做时,我得到一个错误
我向用户请求的权限是
任何人都可以向我解释一下,如果是这样,您如何获得这些帖子的详细信息?我的意思是在墙上的直接帖子中(不是分享、喜欢、链接等),你会得到带有消息标签、图像 url 等的东西。
亲切的问候
萨伦
ios - Facebook SLRequest 搞乱 NSURLConnection
我正在尝试使用 SLRequest iOS API 获取 facebook 数据,这似乎工作正常 -
但是,在此之后,我向我的一台服务器发出 HTTP POST 请求,
POST数据很好(从服务器日志验证),但我没有得到任何HTTP响应
在没有 SLRequest POST 的情况下,这曾经可以正常工作,我可以评论该部分并再次开始工作。
我在这里想念什么?
ios - 如何为 Twitter / 操作表创建社交共享例外?
我正在使用以下代码在我的应用程序中调用操作表共享:
问题是这样的:postText
超过 140 个字符,因此无法通过 twitter 分享,字符数将是 -x (红色字符数,您已结束以便通过 twitter 分享),我的问题是:如何我做了一个例外,以便shortPostText
在选择 twitter 进行共享时使用不同的消息说?
一旦sendPost
发送操作,我看不到为 twitter 显式设置字符串的方法,一旦你在这里:
编辑:我不明白为什么有人会否决这个问题,我不是在问如何做出 if/else 语句或如何编程。这是一个真实的问题,需要一个真实的答案。
更新:我需要解决这个问题,因为这是当用户尝试在我的应用程序中通过 twitter 分享时我得到的:
一个红色/负面字符指示器和一个非活动的帖子按钮,因此除非该字符数下降到 0 或更少,否则它将不允许帖子进入 Twitter。
objective-c - requestAccessToAccountsWithType completion not being called
When I run [_accountStore requestAccessToAccountsWithType: ...] I am getting no response. My completion handler isn't being called. However I do have access to twitter.
Why is this happening?
ios - 使用 iOS 中的社交框架向 Facebook 朋友发送消息或应用请求
实际上,以前我使用 FBGraph 向 facebook 朋友发送消息。但现在它不起作用。它给出的错误就像
我想使用 IOS 6 中可用的社交框架。所以我想用它来发送消息或应用程序请求。任何建议我该如何实施。
我使用 apprequests 发送消息,它给出以下错误
我使用帖子发送消息它给出以下错误
ios - 社交框架网页缩略图 iOS
我已经在我的应用程序中实现了社交框架,但是当通过 SLComposeViewController 共享 url 链接时,网页缩略图没有显示。如何显示缩略图?
这是代码:
现在看起来像这样
我希望它看起来像这样(直接从 facebook 网站发布)
ios - TWRequest 类。该怎么办?
我更新了在 iOS5 下编写的项目。现在只支持iOS7。该项目有检查:
if ([TWRequest 类]) { ... }
XCODE 说“TWRequest 已弃用:在 iOS 6.0 中首次弃用”。我知道我应该使用 Social.framework。
因此,更新这些检查是否有意义,或者您可以简单地将其删除?确实,在 iOS 中还默认支持 Social.framework?
ios - 在“aporat/SocialAccounts”框架中找不到“GTMOAuthViewControllerTouch.h”文件
在我将SocialAccounts安装到示例“SocialAccountsSample”中后,XCode 说找不到“GTMOAuthViewControllerTouch.h”文件。
这是我在安装 pod 后得到的。
"[!] 目标SocialAccountsSample [Debug]
覆盖$(inherited)` 标志HEADER_SEARCH_PATHS
中定义的构建设置Pods/Pods.xcconfig'.
- Use the
,或者 - 从目标中删除构建设置。
[!] 目标SocialAccountsSample [Debug - Release]
覆盖$(inherited)` 标志HEADER_SEARCH_PATHS
中定义的构建设置Pods/Pods.xcconfig'.
- Use the
,或者 - 从目标中删除构建设置。”
我该如何解决这个问题?谢谢
ios - iOS Facebook Framework login process
I am developing an iOS app in which I am providing functionality to login via Facebook. For this I am using the Facebook framework. I have gone through developers.facebook.com and implemented login functionality as described there. FB login is working properly. FB login functionality works like this:
FB Framework will try to find FB App, if it is present then it will authenticate using FB app credentials.
If FB app is not present then it will try to authenticate using the iPhone device settings FB credentials.
If FB System Account is not present then it will open safari for authentication.
I want that in the third step instead of safari Facebook Web view pops up. Below is my code which I am using.
I am calling login from another controller and if I don't have the FB app and system account in the device then it opens safari instead of web view.
Please help me solve this if possible.
ios - 使用 SocialNetwork.Framework 邀请 facebook 好友
我有一个集成了 Socialnetwork.framework 的 iOS 应用程序。现在我想要的是邀请使用相同的朋友。可能吗??