Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working on local #62

Closed
nufrankz opened this issue Feb 2, 2016 · 9 comments
Closed

Working on local #62

nufrankz opened this issue Feb 2, 2016 · 9 comments

Comments

@nufrankz
Copy link

nufrankz commented Feb 2, 2016

Hey!
I downloaded this snippet (thank you), and put it to work.

Well, everything's already set, jquery 2.2.0 from google's cdn, the oauth keys (copy/paste), correct paths and the div that will receive the data.

This is my syntax:

$('.contenidotwitter').twittie({ dateFormat: 'de %B del %Y.', template: '<div class="tweet">{{tweet}}</div><div class="fecha">{{date}}</div>', });

Working on Firefox on local mode (Internet just to obtain the feed and jquery) but it doesn't work (just "Loading").

Even the index.html example doesn't get the data.

What I'm doing wrong? Thank you! :)

@simongomes
Copy link

I am having the same problem. Is there any solution for it?

@nowag
Copy link

nowag commented Aug 13, 2016

@nufrankz @gomessimon
Is PHP correctly enabled or installed?

@simongomes
Copy link

I have solved it, it was a file permission issue in the server.

Best,
Simon Gomes

On Aug 13, 2016 4:45 PM, "Noah Wagner" notifications@github.com wrote:

@nufrankz https://github.com/nufrankz @gomessimon
https://github.com/gomessimon
Is PHP correctly enabled or installed?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#62 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABtz0mzcpTIcShTi-cIZM8aENTJUrEb5ks5qfaAtgaJpZM4HRD2o
.

@lspoor
Copy link

lspoor commented Oct 1, 2016

I'm also receiving this problem? Working locally using MAMP. Any ideas?

@simongomes
Copy link

In the server check your api folder and files permission inside it. api folder shoulw have 0755 (rwxr-xr-x) file excess permission, as well as all folders inside it, and all the .php files inside the api folder and it's sub folder should have 0644 (-rw-r--r-) file excess permission. Try it hope it will work, it worked for me.

@lspoor
Copy link

lspoor commented Oct 1, 2016

Is this when you've uploaded it to a web server? I'm simply just working in a directory on my desktop atm using Mamp as a local server

@simongomes
Copy link

simongomes commented Oct 1, 2016

I used XAMPP in windows, not sure about MAMP, still check the file permissions. Possible share any error log? What exactly is the error message?

@lspoor
Copy link

lspoor commented Oct 1, 2016

I've got it partially working now, but another issue - #74

@amigoow
Copy link

amigoow commented Dec 19, 2016

In addition to file permissions it requires PHP Curl enabled.

To enable that go to php.ini file and remove ; from this line:
;extension=php_curl.dll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants