LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Client token for i3twitter

Hi everyone. I am new to this myrio and labview. I got one problem here where I would like to send my update status of my real time monitoring hypoglycemia detection to twitter. Below is the VI that I have created. Could anyone please take a look at my VIs cause I don't know where to get client token access and client token secret. Of someone has a solution for this, it really help me a lot for my final year project. Thanks.
0 Kudos
Message 1 of 7
(3,818 Views)

You need to attach VI's before anyone can look at them.

0 Kudos
Message 2 of 7
(3,805 Views)

Oh..sorry..I thought I already attched it..Here is my vi..Thanks.

0 Kudos
Message 3 of 7
(3,801 Views)

These are security values that are provided by twitter.

 

In the built-in documentation of the first VI that you called, the instructions state:

 

Twitter Open - Embedded is used when the application has a specific set of Access Credentials or the user is on a platform without a web browser.

 

The Consumer Key and Consumer Secret are unique to each application and can be created by making an application at dev.twitter.com.

For more information and a Getting Started tutorial navigate to Help » i3 Twitter Help in LabVIEW.

 

Use of this function requires Access Credentials which can be found on dev.twitter.com when an application is created or by using the Twitter Open - Desktop VI on a computer with a Web Browser to have the user grant access and create an Access Token and Access Secret for use on the embedded system.

 

From the toolkit page, follow Step B:

 

https://decibel.ni.com/content/docs/DOC-23379

 

0 Kudos
Message 4 of 7
(3,772 Views)

I have done that part..all the steps stated in the link..I run the simulation and theres an error mentioned :

 

Call Library Function Node in LabVIEWHTTPClient.lvlib:OpenHandle.vi:6450002->i3-twitter.lvlib:Verify Credentials.vi->i3-twitter.lvlib:Twitter Open - Embedded.vi->try&i3twitter.vi

 

what does that mean?

 

Thanks

0 Kudos
Message 5 of 7
(3,757 Views)

The call library function node means it is calling into another library on the system. In this case the HTTP Client VIs are probably trying to call a library that they use.

 

On the myRIO you have to explicitly make sure to include the HTTP Client VIs dependencies, they do not get installed automatically. You can find other people with a similar error (and solution) in the forums like the following: http://forums.ni.com/t5/Academic-Hardware-Products-ELVIS/Web-messaging-app-for-NI-myRIO/td-p/2952629

 


Milan
0 Kudos
Message 6 of 7
(3,740 Views)

Thanks MIlanR, but still the same error occured..I did follow all the steps..Smiley Sad

0 Kudos
Message 7 of 7
(3,729 Views)