问题标签 [mgtwitterengine]
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.
iphone - iPhone 中的操作停止工作!
我已经使用 mgtwitterengine 在我的 iphone 上设置了一个 twitter 客户端。我已经设法设置它,所以我可以发推文并接收状态更新。
使用标准设置,您只能收到 10 到 20 次更新。能够收到更多的更新,然后你必须投入[_engine getFollowedTimelineSinceID:0 startingAtPage:0 count:50];
,但这不允许你获得超过原始数量,直到你激活
在 SA_OAuthTwitterEngine.m 中。
我的问题是当我这样做时,我不能再从我的应用程序中发布新状态。我可以在流中拥有多达 200 个状态,但没有发布功能。这是错误:Error Domain=HTTP Code=401“操作无法完成。(HTTP 错误 401。)”
任何帮助,将不胜感激。
提前谢谢了
解决了
我只需要在if(requestType == MGTwitterUserTimelineRequest || requestType == MGTwitterFollowedTimelineRequest)
之前添加if (params) {fullPath = [self _queryStringWithBase:fullPath parameters:params prefixed:YES];}
,它看起来像这样:
iphone - LibXML2.dylib 和 Xcode4
我刚刚下载了 Xcode 4,但我似乎无法运行我的应用程序,因为 MGTwitter... 类抱怨 LibXML2 的不包含错误。我已将其导入框架文件夹,并将以下内容放在构建设置的标题位中
但我仍然收到 65 个错误。
任何想法如何解决这一问题?
objective-c - 等待其他线程在目标 c 中完成
我正在使用 MGTwitterEngine 从 twitter 获取推文。这使用异步范例在另一个线程中获取该推文。它将获取的结果返回给主线程。
因为在获取推文后我有一些处理待办事项,所以我想引入另一个线程来防止锁定 UI 线程。我喜欢这样做:UI 线程启动一个新线程 X。线程 X 使用 MGTEngine 开始异步获取推文,并等待它完成。当 MGTwitterEngine 返回时,线程 X 处理推文,并通知 UI 线程我们准备好了。
我的问题是:如何设置线程 X 等到 MGTwitterEngine 被读取?
ios - MGTwitter 引擎 - 返回用户名
我正在使用 MGTWitter 引擎,并已成功验证和发布推文。
这就是我所坚持的:我想存储 twitter 用户名并存储它,这样我就可以在用户发布推文之前将其显示在视图上。
我在网上搜索并找不到正确的方法。我应该以某种方式将用户名存储在 storeCachedTwitterOAuthData 委托方法中吗?
任何帮助将不胜感激。
-SD
cocoa-touch - MGTwitterEngine 用于 Iphone 身份验证 xAuth oAuth
我正在尝试将 twitter 集成到 Iphone 应用程序中,因为 twiiter 默认情况下不允许 xAuth,那么我如何使用它。.. twitter 什么时候会批准我的应用程序的 xAuth。因为现在处于发展阶段
还有一件事情
我已经使用 MGTwitterEngine 在我的应用程序中添加了 oAuthConsumer 文件,然后我如何调用 oAuth。
现在我这样打电话
但它是 xAuth 方法
请帮我
阿米特巴坦
cocoa-touch - MGTwitterEngine Iphone oAuth
我已经从源代码https://github.com/kimptoc/MGTwitterEngine-1.0.8-OAuth尝试了用于 oAuth 的 MGTwitterEngine
我正在将此代码用于 MGTwitterEngine oAuth... 但不适用于我...
它给出了与我在使用 xAuth 时没有启用集成在 Iphone App 中的 xAuth Twitter 时相同的错误
错误日志是:
还有一件事我在设置应用程序密钥和秘密中没有找到任何东西?
由于这个原因可能是错误的..请帮助我。
在 twitter 按钮选项卡上编辑代码
阿米特巴坦
cocoa-touch - Use twitter ios sdk oAuth
I try to use MGTwitterEngine for twitter Iphone integration, this is supporting both xAuth and oAuth as per its documentation and firstly I try it using xAuth as which function I am calling named getXAuthAccessTokenForUsername
But my application is in developing stage .. and twitter not approving it .. they will approve it after release...
I am not able to use oAuth using MGTwitterEngine
Can anybody help me...
Even I am not able to use oAuth version from source http://mobile.tutsplus.com/tutorials/iphone/twitter-api-iphone/comment-page-1/
I can update my status successfully using it...But not able do any thing else
I try
then getting error
Request 9EF8DE73-6E04-46F1-9D90-484F90FCA44F failed with error: Error Domain=HTTP Code=404 "The operation couldn’t be completed. (HTTP error 404.)"
Request 016DB024-1BFB-4E9B-8734-3FFCCB93D6E4 failed with error: Error Domain=HTTP Code=403 "The operation couldn’t be completed. (HTTP error 403.)"
Please help me
Amit Battan
iphone - 推特不工作
我使用了 MGTwitterEngine 并且它不工作 成功登录尝试后应用程序崩溃请帮助我
iphone - MGTwitterEngine 抛出错误:g++-4.2 failed with exit code 1
我在我的 iPhone 应用程序中安装了 MGTwitterEngine,并按照所有说明进行操作,现在我收到以下错误:
完整的错误文本是:
知道是什么原因造成的吗?
oauth - iPhone + Twitter + LinkedIn + Facebook 错误:命令 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 失败,退出代码为 1
我在带有 facebook-ios-sdk 的 iOS 应用程序中使用 MGTwitterEngine oAuth 和 LinkedIn iOS SDK
TwitterEngine:https ://github.com/bengottlieb/Twitter-OAuth-iPhone
LinkedInIphone:https ://github.com/ResultsDirect/LinkedIn-iPhone
两者都分别集成得很好,但是当我在应用程序中同时使用两者时,就会出现错误
- FB + Twitter = 运作良好
- FB + LinkedIn = 工作良好
- FB + Twitter + LinkedIn = 不工作并给出错误:
命令 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 失败,退出代码为 1
请帮助我哪里错了。
编辑
错误记录文本文件
阿米特巴坦