as topic, I am try to use MGTwitterEngine, but it seem is trouble to use ....
also had to got online support, anyone can help so
Request failed for connectionIdentifier = 45B5868D-F16C-471B-96B2-AE1BEA57C276, error = The operation couldn’t be completed. (HTTP error 401.) ({
body = "\n\n /oauth/access_token\n Client application is not permitted to use xAuth.\n\n";
response = ;
thanks
You're gonna need to send Twitter an email requesting that they enable XAuth (which is the authentication system used by MGTwitter) for your application
http://dev.twitter.com/pages/xauth
Related
Facing this issue while verifying webhook in facebook chatbot also It's happening in dialogflow.
The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 400; HTTP Message = Bad Request
Adding a webhook is really easy, you can make a php script that first just logs whatever it receives and put it in your website. Just make sure is HTTPS and has the correct permissions to run and save it:
lets say that you create post.php and hosted in https://example.com/facebook/post.php
The basic code for post.php could be:
<?php
$input = (file_get_contents('php://input'));
error_log("\n",3,'log.log');
error_log(print_r($input, true),3,'log.log');
error_log("\n-------------------------------\n\n",3,'log.log');
?>
make sure that you create log.log file and give the web server permission to write on it.
Good Luck.
Please take a look at the Dialogflow documentation for the Facebook integration: https://dialogflow.com/docs/integrations/facebook . Dialogflow will provide a webhook URL that you must add to your project on developers.facebook.com (which is what I believe you're having trouble with).
If you're trying to setup a webhook for Dialogflow, first setup the Facebook integration, as described above and then take a look at Dialogflow's documentation on fulfillment: https://dialogflow.com/docs/fulfillment
I am looking for some samples which I can use to post/retrieve feeds to/from groups in sales force chatter. While googling I have come across Chatter REST API in conjunction with RestKit. I was unable to run this sample which i have downloaded from github
https://github.com/cseymourSF/Chatter-API-iOS-Sample
After running the code i am able to login to sales force via application. But for the below
Request :
Sending asynchronous GET request to URL ///services/data/v23.0/chatter/users/userId.
(ex:///services/data/v23.0/chatter/users/me)
Error:
User fetch failed with error: Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo=0xa58ffa0 {NSErrorFailingURLStringKey=///services/data/v23.0/chatter/users/userId, NSErrorFailingURLKey=///services/data/v23.0/chatter/users/userId, NSLocalizedDescription=unsupported URL, NSUnderlyingError=0xa5906d0 "unsupported URL"}
and the current url i am suing is below:
https://na15.salesforce.com/services/data/v23.0/chatter/users/me
any help could be appreciated.
It seems like REST API wrong method invocation
Iam developing Iphone applications. i have integrated twitter in to my app, it is good up to login into twitter (authentication), but when we call method [engine sendUpdate] (for sending tweet), it says the follwing error has occurred.
Request CFE50DC4-02A0-46C1-BFF9-3F1F2E325C29 failed with error: Error Domain=HTTP Code=404 "The operation couldn’t be completed. (HTTP error 404.)"
Please tell me the solution.
Thanks
You'll need to upgrade your application to use the correct URLs.
In the case of API resource URLs, you want URLs that look like https://api.twitter.com/1/users/lookup.json
In the case of OAuth negotiation URLs, you want URLs that look like
https://api.twitter.com/oauth/request_token
Source: https://dev.twitter.com/discussions/2359
(I did not check it personally, Posting so that it may help others)
...i checked, (worked for me)
Replace: #define TWITTER_DOMAIN #"twitter.com"
With: #define TWITTER_DOMAIN #"api.twitter.com/1"
in MGTwitterEngine.m
Similar Post: Error 403 while getFollowers : Twitter Iphone MGTwitterEngine
HTTP 404 is a Not Found error, so it's likely that the URL you're using to send a tweet is incorrect.
Check what you have in your code with the twitter documentation at http://dev.twitter.com
Version 1 of the API is now deprecated. This document may describe an outdated version of the API. Please move to Version 1.1 of the API as soon as possible.
Go through this document.
https://dev.twitter.com/docs/api/1.1/post/direct_messages/new
Point to be noted
Api format should me json
Api version v1.1
sender and receiver should follow each other.
Example Request
POST : https://api.twitter.com/1.1/direct_messages/new.json
POST Data : text=hello&screen_name=rajneesh071
I have to access social information for the logged-in user.i have used following link. http://developer.yahoo.com/social/sdk/objectivec
i have used send request method to get user information.
but i am getting following error message
<
?xml version='1.0' encoding='utf-8'?>
<error xmlns='http://yahooapis.com/v1/base.rng'
xml:lang='en'>
<description>400 Bad Request</description>
<detail>400 Error : syntax error, unexpected '(' at "*(*null)"
can any one help me?
thank you in advance.
The Yahoo Web server (running the Web site) thinks that the data stream sent by the client (e.g. your Web browser or our CheckUpDown robot) was 'malformed' i.e. did not respect the HTTP protocol completely. So the Web server was unable to understand the request and process it. so make sure you are sending the well structured request.
Based on your commented:
http://nullinfo.wordpress.com/oauth-yahoo/
http://developer.yahoo.com/oauth/guide/oauth-make-request.html
You should understand how to make request with oauth, first read that and later if you could not succeed, ask again.
I am integrating twitter api in my application.
When I am trying to tweet I am getting an error:
Request A2C3E4D7-D3E8-47AD-A47C-3AC0DF2975A7 failed with error: Error Domain=HTTP Code=401 The operation couldn’t be completed. (HTTP error 401.)
I saw there is function defined with sendUpdate name. It is looking for parameter updateID and it is having zero (0) value all time. I am supposing this is occurring due to zero value in updateID.
Please help me. How to update in twitter from iPhone application. My consumerkey and consumersecretkey is right.
Thanks