Sing in on twitter via Codeigniter - php

I'm using PHP Framework Codeigniter.
I need help to implement twitter login on my website.
Every solution what I find until now is deprecated.
If someone know some useful post, library, tutorial it will be helpful.
Version of Codeigniter is 3.0, but I guess if someone have solution for older one it should work on this one too.

Related

I want to login with twitter in Cakephp2.5.4

I am a new in cakephp 2.x platform. Now I am trying to connect my application login with twitter. I get lots of tutorial from the net. But all are not specified exactly for better understanding.
I'm searching for some docs or examples on CakePHP and logging in with Twitter.
If I use this program, do I have to download the Opauth CakePHP plugin? Is this plugin a must or is it optional, if I didn't use this plugin can I run this program?
Please show me some good tutorials for this program.
Have to tried this tutorial given by Mifty - http://miftyisbored.com/complete-social-login-application-tutorial-cakephp-2-3-twitter-facebook-google/
Please try this, it will help you.

Secure Web services with Oauth in PHP

I want to implement Oauth to protect my PHP Web Services,i have been following this link but found that some of them link are not working.And the working example had implemented in slim,flight some different frameworks in php and i'm newbie in it.My problem is i want to implement Oauth in Codeignter framework to protect Web Service and as per oauth site i've got a link by Alex Bilbie which is deprecated and not working. So if someone had done this before in codeigniter please let me know , Simple PHP would be also fine, later on i can modify it to fit in codeigniter.
I find Brent Shaffer's OAuth2 Server Library for PHP an excellent library!
In the cookbook you can find many examples on how to integrate it into certain frameworks, unfortunately CodeIgniter isn't one of them. But the documentation is very good, and you can use the cookbooks on the other frameworks as a guide for doing it in CodeIgniter.
You can find the library on Github.

Google Moments in google's own php library, are not working

I have struggled with google's php library, the latest version of which is available on their own website. While the simple google plus example they provide works fine (it's a basic login with GET features), there is no way to add a moment activity via app in php - at least not for me.
Their own example isn't working (the example can be retrievd in the library: examples/moments/simple.php)
Someone provides an answer here but the button demo they provide isn't working either if I press (authorization is fine, posting produces no action.
Does anyone have a suggestion on how to change their own php file so to make it work? I tired removing all the code and resetting it to the basic action: at least I am not getting oauth or php errors, but the file produces no action.
I understand that posting moments in php is not currently supported, but I have a web app and android implementation wouldn't work for me I think.
At the moment you need to get the library from the trunk, you can find instructions here.
This gist documents how to request permission and write activities.
The old moments api has been deprecated and those samples are for the old API, I'll remove them from the codebase as soon as possible. Thanks for raising this question!

PHP Zend, Facebook Share Option

I want to create a facebook share option after payment is succeeded. I am trying to develop a simple website that is coded in PHP with Zend Framework. Can you advice me something or give me reference that i can look to. Thank you in advance.
The default share functionality is considered deprecated by facebook itself. You can read about this here: Facebook Developers - Share
The suggested method is to implement the current version of the Like-button of which you can read about more on this page: Facebook Developers - Like
You'll find lots of information on the page itself. To get started, you should read yourself into Facebook Developers - PHP SDK Overview
PS: Pretty unreliant to Zend Framework itself :)

Some help to make AS3 and ZendAMF work together

after some research I found that the best option for my current proyect is to use AS3 in collaboration with ZendAMF to be able to connect with PHP->MySql.
But, there is a little problem, I cant make it work, and maybe its me, but the official (official website) documentation kind of sucks.
So, is there a proper guide to have a working example using ZendAMF?
Thx very much.
Edit.: Im not using Flex components, thou Im using Flash Builder my project is entirely AS3.
Try this tutorial: http://corlan.org/2008/11/13/flex-and-php-remoting-with-zend-amf/

Categories