Before you run too far down this road, be warned that this hasn’t been updated in quite some time, and due to changes in Twitter’s API (I believe the change to 1.1) broke picture attachments for GGtwitter. I was trying to get it working back in September, to no avail.
Actually, it works. Not sure why, but suddenly the web page for twitter authorization opens (maybe it takes some time after setting the app on twitter) or it is because I entered a callback url.
Anyway, the message presented to the user is scary, which user will allow this:
"This application will be able to:
* Read tweets from your timeline
* See who you follow, and follow new people
* Update your profile
* Post tweets for you
* Access your direct messages
I have enabled the max. permissions (Read, Write and Access direct messages).
Maybe I can remove at least the last permission.
All I wanna do is post a tweet, not update users profile or follow new people!
Before you run too far down this road, be warned that this hasn’t been updated in quite some time, and due to changes in Twitter’s API (I believe the change to 1.1) broke picture attachments for GGtwitter. I was trying to get it working back in September, to no avail.
Actually, it works. Not sure why, but suddenly the web page for twitter authorization opens (maybe it takes some time after setting the app on twitter) or it is because I entered a callback url.
Anyway, the message presented to the user is scary, which user will allow this:
"This application will be able to:
* Read tweets from your timeline
* See who you follow, and follow new people
* Update your profile
* Post tweets for you
* Access your direct messages
I have enabled the max. permissions (Read, Write and Access direct messages).
Maybe I can remove at least the last permission.
All I wanna do is post a tweet, not update users profile or follow new people!
File: oAuth.lua Line: 205 Attempt to index local 'str' (a nil value) stack traceback: oAuth.lua:205: in function 'encode\_parameter' oAuth.lua:170: in function 'oAuthSign' oAuth.lua:41: in function 'getRequestToken' GGTwitter.lua:247: in function 'authorise' start.lua:527: in function \<start.lua:492\> ?: in function \<?:221\>
I don’t know how committed you are to ggtwitter, but since this is a 3rd party solution we can’t really help and you would need to get in contact with Graham for support.
However, there is a new twitter plugin in the Plugin store made by Jason Schroeder. He has to support it, but its well documented. I recommend you check it out if you can’t get help from Graham.
I did put in a request to Jason a week or so ago for the picture upload function and I believe he has added it to his wishlist. I know he is pretty busy with client work at the moment but hopefully it will be added once he gets some free time, .
Maybe if he sees this thread he may well add a comment.
Hi MMK, as Anil indicated I do have a “punch list” of feature requests for the plugin but I’m a bit swamped between my dayjob and 2 client app projects at the moment so making and QA testing plugin updates is unfortunately on my back burner for now.
However, easy image uploading vis the plugin is on the roadmap. It’s worth noting that you should be able todo this already by using twitter.request - but you’ll have to handle all the multipart form encoding, etc, yourself. It’s a bit tricky. But when I add support to the plugin, I’ll try to make it as simple as passing in an image file or Corona display object.
File: oAuth.lua Line: 205 Attempt to index local 'str' (a nil value) stack traceback: oAuth.lua:205: in function 'encode\_parameter' oAuth.lua:170: in function 'oAuthSign' oAuth.lua:41: in function 'getRequestToken' GGTwitter.lua:247: in function 'authorise' start.lua:527: in function \<start.lua:492\> ?: in function \<?:221\>
I don’t know how committed you are to ggtwitter, but since this is a 3rd party solution we can’t really help and you would need to get in contact with Graham for support.
However, there is a new twitter plugin in the Plugin store made by Jason Schroeder. He has to support it, but its well documented. I recommend you check it out if you can’t get help from Graham.
I did put in a request to Jason a week or so ago for the picture upload function and I believe he has added it to his wishlist. I know he is pretty busy with client work at the moment but hopefully it will be added once he gets some free time, .
Maybe if he sees this thread he may well add a comment.
Hi MMK, as Anil indicated I do have a “punch list” of feature requests for the plugin but I’m a bit swamped between my dayjob and 2 client app projects at the moment so making and QA testing plugin updates is unfortunately on my back burner for now.
However, easy image uploading vis the plugin is on the roadmap. It’s worth noting that you should be able todo this already by using twitter.request - but you’ll have to handle all the multipart form encoding, etc, yourself. It’s a bit tricky. But when I add support to the plugin, I’ll try to make it as simple as passing in an image file or Corona display object.