jawaris indonesia

February 14, 2010

Facebook auto wall

Filed under: Ngeblog Yuk.......! — idjawaris @ 9:31 am

Since it took me so long to find the wall of a huge messy profile of a friend when I wanted to say Happy Birthday, I was thinking of doing it by a simple HTTP POST.

First you need to gather following information

  1. Your post_form_id
  2. Your profile id
  3. Your friend’s profile id

That’s all you need, and you must be logged in to your facebook account (doesn’t matter if you have checked remember me).

Then type in the following html code and save it as a .htm file and double click on it. That’s it your message will be on your friends wall .

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

<html>


<body>


<form
id=“fb_wall”
name=“fb_wall”
method=“post”


action=http://www.facebook.com/wallpost.php?id=%5BYOUR FRIEND’S ID]”>

 
 


<input
type=“text”
id=“to”
name=“to”
value=“[YOUR FRIEND’S ID]”
/>


<input
type=“text”
id=“wall_text”
name=“wall_text”


value=“Happy Birthday”
/>


<input
type=“text”
id=“from”
name=“from”
value=“[YOUR ID]”
/>

 
 


<input
type=“text”
id=“post_form_id”
name=“post_form_id”


value=“[YOUR post_form_id]”
/>

 
 


<input
type=“submit”
/>


</form>


<script
language=“JavaScript”>document.fb_wall.submit();</script>


</body>

</html>

Ok, so how do we find the post_form_id and the two profile id‘s. To find the post_form_id you need to go to your profile and click view source in the view menu of the browser then search for post_form_id.


Now the two ids; Go to your profile and your friend’s profile and you’ll find the id in the URL.


That’s it! Try it for yourself.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: