How to post image/content to facebook page from website [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
I want to post a message/image on facebook created page.I have created the functionality in my website admin section to upload image,add contents but need to know how can i post directly from website to my facebook page .
I have created a website in php.

It is easy to post pictures and status in FB using PHP. See the below link..
https://developers.facebook.com/docs/reference/php

Related

Link to external site in php [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I am trying to link to an external site.
where as $location outputs the URL (e.g. www.siteurl.com)
How do I make the outputted url a link and not just text
Thanks
Just echo out the anchor tags
echo 'Click';
Just try below code for other external site in new tab
echo 'Link name';

.htaccess or using php, How to redirect the site if device is a mobile, tab or any handy devices [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I want to redirect the page if the user is using mobile from
https://example.com
to
https://example.com/mobile/.
please suggest me php or .htaccess code
http://mobiledetect.net/
Using this you can check quite easily whether it is mobile or not.
include 'Mobile_Detect.php';
$detect = new Mobile_Detect();
// Check for any mobile device.
if ($detect->isMobile())
header('Location: https://example.com/mobile');
else
// other content for desktop

How can i store and fetch.php page in mysql [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I have a project in which i have to make a code in which when we click on menu bar and the option that we select in menu bar the page related to that option will display all this is to be done through my sql.Is there any way to do this task.
I don't understand exactly what you want and if there is a better way to do this, but don't put in your sql fields PHP code.
You can create a xml document instead, and use it better.PHP.net - XMLdocument

Post on others' Facebook fan page [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am able to post on users wall of my application, now I want to post the Facebook pages created by others. For example, suppose I want to post feeds on Coca Cola page through my application.
Any help or suggestion would be greatly appreciated.
The same API is used to post on the page's wall-
$facebook->api("/PAGE_ID/feed" , {params}, "POST");
Note: Not on every page you can post on their wall. It depends on the privacy settings of the page .
For eg, If they don't allow such actions, you'll get the respnse error as-
The target user has not authorized this action

Blog site twitter issue [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I have a blog page on the site I'm creating (php/mysql). I generate blog posts by date created, most recent first. When you click the title of a post, you are linked to that post's unique page.
Problem example:
I click the tweet button on the post "Happy Holidays" on the page mysite.com/blog. The url it tweets is naturally mysite.com/blog. I want it to tweet mysite.com/blog/Happy Holidays.
How can I force a custom url to tweet? Do I have to meddle with the JS?
Simply provide a link in the following way.
http://twitter.com/share?url=http://mysite.com/blog/link

Categories