tweetie | Simple jQuery Twitter feed plugin
kandi X-RAY | tweetie Summary
kandi X-RAY | tweetie Summary
Simple jQuery Twitter feed plugin
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create an instance from the request
- Make http request
- Generate OAuth header
- Check request signature
- Get the OAuth signature method .
- Fetches tweets
- Get url path .
- Make an OAuth request .
- Build the signature
- Create a new access token
tweetie Key Features
tweetie Examples and Code Snippets
Community Discussions
Trending Discussions on tweetie
QUESTION
I am looking at this jQuery plugin for embedding a Twitter feed:
https://github.com/sonnyt/Tweetie/blob/master/index.html
It requires the user to set authentication in a .php file and has other .php files in the source.
I was thrown off by this because I thought jQuery was a client-side library.
I am unsure if I am missing something about how to use it, or if it has a server-side component to it's implementation.
How is this meant to be used client-side? Is the /api/ folder that contains the php files meant to be used on the server somehow?
Any help understanding this is much appreciated.
...ANSWER
Answered 2017-Feb-05 at 07:33From what the codes looks like, yes the api should in the server.
And as you can see in the plugin Options, you can specify the API url (apiPath), which is the server side script on your server.
See this file: https://github.com/sonnyt/Tweetie/blob/master/tweetie.js
You can see on line 98, the script basically just make ajax (getJson jquery) call to your server side API script.
From my brief understanding, what this plugin do is, it help you to fetch and process the Twitter API for you, and allow you to customize the output more by setting the options. So that's why the plugin must have a server side script.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tweetie
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page