
Jlucben
France
Asked
— Edited
Hi
I want in my plugin to get the Media Save Folder Path which is a parameter of Camera Control and to the twitter account name configured in EZ Builder
Do you have ideas ?
Thanks
Code:
Code:
If your objective is to tweet you can use the the EZ-Script executer:
https://www.ez-robot.com/Tutorials/UserTutorials/146/21
and send a Tweet command.
ez-script help:
The existent ez-robot twitter integration does not support direct messages, only DJ knows the ARC priorities.
you can use tweetmoasharp (tweetsharpfork) a .net wrapper:
https://github.com/Yortw/tweetmoasharp
you will need to create a twitter application to obtain an Oath consumer key and secret.
https://developer.twitter.com/en/docs/basics/authentication/overview/application-permission-model
https://developer.twitter.com/en/docs/basics/authentication/overview/oauth
then something like this:
Code:
Don't forget the recipient's twitter account must follow your twitter account.
Another reason to create your twitter application:
EDIT:
I didn't see DJ's post
For future references, do you allow/recommend using the EZ-Robot application/User tokens ?
Or create a twitter applications and user token ?
My initial advise is to create a custom application and the user tokens, although i knew it was possible to obtain and reuse the EZ-Robot tokens.
I didn't do it before DJ's approval.
So the code below is the short and effective answer:
Code:
although Twitterizer's API allows read direct messages, ez-robot application is not authorized to read the direct messages.
happy code!
One limitation of tweetinvi to day is that you cannot send direct messages with file attachments.
Do you know other one with this feature
Jean-Luc
coretweet:
https://coretweet.github.io/
wiki:
https://github.com/CoreTweet/CoreTweet/wiki/Using-REST-APIs
check the last example.