adding url with parameters to tweetinvi - tweetinvi

I am trying to publish a tweet that includes a url that ends like
?r=twitter&lkey=oxvN3E8o3 and it does not work. Tweeter returns {"errors":[{"code":32,"message":"Could not authenticate you."}]}. but if I remove parameters it works. BTW length is not a problem.
Thanks

I have been check out to your link that is work correctly . Again you try it but you do not enter hello befor link . Only you enter link in publish function.

Related

Put method cant receive body data but work with direct URL pass parameter

i call api using postman ... api work fine with if i choose put method and pass a url like:
https://URL/user/123?id=123&name=foo
but if i using this link :
https://URL/user/123
And pass data in body put method not working.
I try to use form-data and x-www-form-urlencoder .. all not working .
Anyone know what is my problem ..
thank for your help.
and sorry for my bad English
Try to use RAW format with particular data-type/content-Type which your using in web service Eg: JSON(application/json) Hope this will solve your problem

Scheme url to open ios aplication with parameters

I have an application in Swift which has the function of "I forgot my password", which sends a URL in the user's email, in that URL contains user and token
Example:
https://example.com/forgotPassword#/user/token
Clicking the "https://example.com/forgotPassword#/user/token" link requires the application to open when the link is clicked by passing the parameters after the # (user / token) as follows in the example.
I need to click on the link and open the application.
I tried to modify the info p list in xcode but it generates a link example: application: //, me limiting to send it by email for example, could anyone help me please? If you have not understood, I can explain it better, thank you in advance
The problem is that you are using the word "scheme" in your question title but your example doesn't use a scheme. Well, it does use a scheme, but the scheme is https, which is a link. You need your app to define and declare its own scheme.

Redirect url does not match registered redirect url in instragram

i am using this libray https://github.com/crino/instagram-ios-sdk after login we getting one error
we created app in instrantgram like :
i have add URL scheme to my application's plist file
how to solve this issue please help me
i got my mistake
Redirect url ig3213f9bbab4841aba216996a24e9138e://authorize
It is clearly stated in the Instagram iOS SDK documentation that the URL Scheme needs to be structured as:
ig[clientId]://
So in your case:
ig3213f9b...
Will not work, try
ig32313...://
You are using OAuth and you are trying to run it on browser.
What you are missing is your OAuth Token, Please check if its there when you hit the API in your code.
May be it can help you..
set the call back url like this:

Flogin registration redirect problem

Hi
I have Facebook register in my website. I have integrated it completely without any bugs and the values are stored in the database.After the successful registration , it doesn't redirect to the exact url that i have mentioned below.
header("location:http://www.facebook.com/dialog/oauth/?scope=publish_stream&client_id=yyyyy&redirect_uri=".SITE."business.php?action=favouriteshare&id=".$bid."");
It always through invalid url details.Could anyone please suggest some ideas to get this redirect correctly.
Try the following:
wrap the redirect url with quotes '
use the urlencode() method.
The scope parameter is not yet supported. Please vote this ticket to make it happen.

Codeigniter Facebook app POST method AND query_string

I have a toy facebook app I'm playing with so I can understand how it all works. It's fine if you go the the app like this: http://apps.facebook.com/pushup-challenge/ (and connect it). But if you then go to it from your facebook page, FB uses the URL http://apps.facebook.com/pushup-challenge/?ref=bookmarks.
In my log file, I see that FB is POSTing the data and including the /?ref=bookmarks to it's call to my codeigniter system. This is causing it to either say "invalid URI parameters" or give me a 404, depending on if I've edited the system/core/URI.php file to add rawurlencode() to a particular call.
I've tried using mod_rewrite to get rid of the query_string, too, but since it's POSTing, it doesn't appear to be working (though I'm not exactly sure why).
Has anyone else run into this? How did you fix it?
Thanks in advance,
Hans
try $config['uri_protocol'] = “PATH_INFO”; and set enable_query_strings = TRUE
or
set
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-?=';
in config.php
Because it isn't calling your file by name (just ?ref=bookmarks) the server runs thru the standard default files: index.htm, index.html, index.asp. Because you need to accept a POST, you need a server that allows POSTs to htm & html if you choose to use those. Index.asp will accept POSTs on most servers, and that works for me.
SOLUTION: Add a file (index.asp), that calls the real app that you named in the App settings.