Results 1 to 3 of 3

Thread: Help! How to access Facebook page source with php?

  1. #1
    Join Date
    Nov 2012

    Help! How to access Facebook page source with php?


    Does anyone know how i can access Facebook page sources with php using WAMP Server? I tried the following lines but they kept bringing me to some Facebook page telling me to "Update Your Browser".

    $hey = fopen("somefacebookaddress", "r");
    while (!feof($hey))
    $line = fgets($hey);
    echo $line;

    However, i know its not a browser problem because i can access Facebook normally on my computer and the exact same lines work when i use an online hosting service.

    Please help me!! Thanks in advance!

  2. #2
    Join Date
    Dec 2012
    Lahore, Pakistan
    try CURL.

  3. #3
    Join Date
    Oct 2012
    The FAQ's mentioned in your thread are good, but try to find some as their quantity is quite less

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles