l am trying to do a facebook autopost.

Everything works fine if l supply my userid.

However l need to get the id of the currently logged in user.

$faceboook->getUser() returns 0 every time.

l know the code is configured properly coz l can post to my own profile

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.