How to automatically tweet when a new article added to Joomla - php

I have a free wordpress blog which automatically tweets my new article through my twitter account which I have no idea how wordpress does it. I want to do the same thing on Joomla 3.2.3 platform.
What I want to do is when I add a new article into a specific category, I want Joomla to tweet the article's url automatically.
What I have tried is to search for a couple of components doing this. But I am stucked at API/Key-API/Secret validation. The component (AutoTweetNG) needs tweeter API to have read and write level. So I have many web sites to apply this application. In order to have read and write rights twitter asks me to enter mobile phone number in the profile page.
I have decided to make this by hard coding. Is there any oppurtunity to achieve this? It looks it is gonna be a little robot things, and twitter does not let me.
At least it would be great if thic could be done using PHP only.

Try this,
You can achieve it using two things in Joomla, One is create a twitter Oauth APP also create a content plugin for auto tweet.
First you have to create an app with twitter just follow the link.
Then Create a Joomla content plugin with onContentAfterSave event.
Then Once you create an article it will automatically tweets.
Hope its helps..

Related

How to create a adsense ad system for PHP Blog system?

Hi I have a fully functioned blog system built using php and I need to add adsense ad system for that. Ad code is provided by the user. Can someone give steps to do that. Thanks in advance.
I have created the backend for custom ads. And I need to do the adsense thing now. I have no idea how to do that.

Add login feature and show specific content to users on WordPress Website

I have a WordPress website that I use to introduce our Wedding company. I want to add the functionality that I can create/generate login credentials for each of my client. And when I give them the credentials and a url, they can login on that url using those credentials which can redirect them to a custom made page that displays only their photos/videos as a gallery.
Can you suggest how I can add this function to my site? Are there some plugins that can help me achieve this in free?
Thanks
I'd look into buddypress area for an MVP. At least you get decent profiles out of the box and can build some logic around private pages / communities there. Of course, it's totally possible to do with any membership plugin too, but they all are too bloated for my taste. Better try it with BuddyPress and then develop from scratch with the logic you want.

Use Wordpress or another CMS within a web application?

Apologies for the broad question, but I don't know where to start. I have a php web application for members with various functions and features. On the dashboard, I need to implement some dynamic news - the kind of news that that non-developer can write and publish without any interference with the source code.
Can I implement Wordpress into my existing app so that authors can login, write then publish so that my dashboard can display the latest posts?
At its most basic level, I'm thinking:
a new subfolder for Wordpress with its own separate database.
a plugin to display the latest posts content only
an iframe on my dashboard to display the output of that plugin
But all that seems like a very hacky workaround. Is there a more native way of doing this? Or is there another CMS library that could achieve the same result?
I have a solution that I am running with. It's a separate Wordpress site with the latest posts accessed via the built-in API (https://developer.wordpress.org/rest-api/reference/posts/)
I will be getting all the posts in a category with:
curl https://example.com/wp-json/wp/v2/posts
Then storing the posts in array before looping through that array to display the title and content on my dashboard with:
curl https://example.com/wp-json/wp/v2/posts/<id>
where <id> is from the first call.
This is clean, native and serves the exact purpose I need. The member info, while secured doesn't need to be top-secret, so we're just using the Wordpress password-protection with the same password for all posts so as long as the API calls are server-side with https, the security works too :)
Looks like you want Dynamic News Feature in your existing PHP Web Application.
And you want to build that specific feature in Wordpress.
I don't think it's a good idea to use Wordpress CMS for small features like this.
IF you already have full functional PHP Web Application then I would recommend to use same Web Application to build Dynamic News Feature which will allow users on the site to post.
I don't think that's very complex.
IF you want to get into Wordpress ecosystem then you will need to convert your PHP Web Application into Wordpress and then you can build additional functionality.
I think that's the ideal way to go. Let me know if more questions. Thanks.

how to integrate wordpress users with vbulletin users

i have my site in wordpress which has a vbulletin forum now i want that when i create user in wordpress
it will automatically create user in vbulletin.
also when a user login with wordpress account it wil automatically login in vbulletin and able to post
(maintaining session between wp to vbulletin)
i have tried a plugin says "VBsso" bt it work vice vrsa..:( it will integrate vbulletin users to wordpress means i have to create vbulletin user and have to login in vbulletin bt i dont want that...:(
i need wp to vb ..
plzz suggest me some plugin or some code or the way how to do that...??
any idea or suggestion will helps me a lot..thanks in advance
You can give a try to obscureclouddon's mod, as an alternative to vbSSO.
(an other link here)
It seems to be a good choice, since it has features you need :
WordPress->vB features:
*Registration sync – new users created on WP are automatically created on vB
vBulletin ->Wordpress features NEW
*Registration sync – new users created on vB are automatically created on WP
The bad things are :
this modification is in beta stage
free version has limited features, the pro version is, IMHO, expensive... (but it could worth the cost..)

WordPress Multisite - Create New Sites and Users through API?

I have created a Wordpress multisite and was wondering if it was possible to programatically add new sites (blogs) and users through the API?
Basically I have another website (ASP.Net C#) where I will be selling something and I want to give users a free blog everytime they buy something. So everytime a user registers on my other website I want to connect to wordpress multisite through the API and create a new blog for the user.
I have looked through some of the documentation on XML-RPC and saw stuff about adding new blog posts but is it possible to add actual blogs too? Or if not, is there any other way of doing this?
Hi: Like a year ago i had the same problem. Im not sure if it is possible to create it using the API. We solved at that time creating the tables automatically with php scripts. An easy way is to have the wordpress core tables, and everytime a new user register, you just copy the wp core tables into new wp tables but with a new prefix. That way you just personalize some fields like blog title.
You can contact me is you think I can help.

Categories