You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using tweet.js to implement Twitter into an existing WordPress widget I have created however I'm having difficulty getting the users info (consumer key etc) from the widget to the index.php file.
I've set up fields for the user to add their info in, that's working fine, however it's the passing the info to the index.php file I'm having difficulty with.
I've added another param to the call so when initiating the library in my widget file, as well as passing in the username, modpath etc, I can add the consumer key on. This can then be retrieved in the jquery.tweet.js file and used by putting s.consumer_key.
As you know though, I need to add the consumer key and other info into the index.php file. I've tried my best however PHP is not my strongest language, so any help would be greatly appreciated.
Cheers,
Martin
The text was updated successfully, but these errors were encountered:
Hi there,
I've been using tweet.js to implement Twitter into an existing WordPress widget I have created however I'm having difficulty getting the users info (consumer key etc) from the widget to the index.php file.
I've set up fields for the user to add their info in, that's working fine, however it's the passing the info to the index.php file I'm having difficulty with.
I've added another param to the call so when initiating the library in my widget file, as well as passing in the username, modpath etc, I can add the consumer key on. This can then be retrieved in the jquery.tweet.js file and used by putting s.consumer_key.
As you know though, I need to add the consumer key and other info into the index.php file. I've tried my best however PHP is not my strongest language, so any help would be greatly appreciated.
Cheers,
Martin
The text was updated successfully, but these errors were encountered: