I am trying to check through twitter javascript api (see) if a logged user follows me on twitter Used to be. If not, I'll show a photo button. I can not figure out how the command is / is behind IFollowed By works (see doctor).
Code so far:
twttr.anywhere (function (T) {If (T.User.find ('mashable'). IsFollowing) {Warning ("Mashable Logging in to the current user ");});
has also tried .isFollowing ()
, .isFollowing ('username')
, .isFollowing ( ). ('Username')
and many more options so far nothing works. Can anyone help me to know how to use this method correctly?
Thanks in advance!
does not have experience with API but it appears
T. Usher.Find ('Mashable'). HuffFilling ()
Correct
Adding a curly brace may help, you are missing one to finish the function definition:
twttr.anywhere (function (T) {if (T.User .fund ('mashable') .halfoling ()) {warning ("Mashable is currently logged in user");} });
Comments
Post a Comment