Reposting to other websites from my own [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm creating a wordpress website, and I want that when I or an user make a post it gets automatically reposted to other sites.
I know that there is API for major websites, for example facebook and twitter. But what if I want to make a post in olx.com? they have no API. Is there a way to create a php function that logs into olx, post and logs out? It doesn't have to be a php function, i'm open to ideas.

There is a lot of reasons to not do that.
Better stay safe and play with the websites that have api, allow feeds or already implemented a way for you to post on their sites.

Related

How can i create a page that tailors personal info to the user [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
After hours of trial and error, using WAMP i made a login system that mails me locally ( password recovery etc). I want to make pages that only the user has information tailored to the user, think of it as a profile page Facebook or Twitter, the news updates.
You can use sessions. In php you can type session_start(), then you can store some information about the user. So if the user don't have a session he can't access the page. Search about session_start(). You will find many examples about it.

PHP get twitter username from site visitor [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm not quite sure if this is possible, but I am looking for a way to get the twitter username of a person visiting a website. Does anyone know if there is a way to do this, or if I always need a user to confirm that I am seeing this data?
Preferably I'm looking for a PHP library that I can do this with.
No, that is not possible. Think of the security vulnerabilities: if any website could access your Twitter account information without your permission, then you essentially have no privacy.
You need to use OAuth to first ask the user to sign in. Then, you will have limited access to that user's account information.
Here is a list of PHP libraries to help you do this.

Web based chat between users in my web app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I would like my users to able to chat with one another.
I currently use angularjs as the front-end and PHP in the back-end.
any ideas?
You should be looking at different languages for this. Node.js, MongoDB and Redis is a good start.
Also, just expecting people to give you code with such a vague request is not really in line with the spirit of things here. There are plenty of good examples online and a simple Google search would give you results like this https://github.com/joni2back/spachat if you're really keen on using PHP and Angular.

standard automatic login on a partnership website? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
i want to login from my website via link on a partnership website. To program this with PHP, is not a problem for me. But i ask myself if there is a standard or good practice to do this.
My current solution is to use a proxy. Does anyone have a better idea?
Many thanks.
You should definitely take care that the link for log in on that partner website is only valid once. Moreover, you should take care of timing attacks, etc.
The best thing is that you use one-time tokens and that your websites communicate with each other via an internal API. This prevents most of the issues.

What type of programming is needed to run an IOS app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
So there are websites that use dynamic web pages and use PHP for this. Also websites need to use SQL to run information in their server databases.
How would an iOS app do this? Through the same type of programming (PHP&SQL)?
I'm a student only looking to learn. Thanks!
This should get you started - https://developer.apple.com/library/ios/navigation/#section=Resource%20Types&topic=Getting%20Started
And once you have had a look around in the above link, have a read of this https://developer.apple.com/technologies/ios/
Lastly if you want to really go creative and social check out the iOS SDK for Facebook and start making cool apps - https://developers.facebook.com/docs/ios/ios-sdk-tutorial/

Categories