منتدى استراحات زايد

منتدى استراحات زايد (http://vb.ma7room.com/index.php)
-   منتدى أخبار المواقع والمنتديات العربية والأجنبية (http://vb.ma7room.com/forumdisplay.php?f=183)
-   -   Facebook Integration & Common Issues (http://vb.ma7room.com/showthread.php?t=436031)

محروم.كوم 06-21-2010 12:20 PM

Facebook Integration & Common Issues
 
The integrated FaceBook features from 4.0.4 have caused some issues, so the below is a quick step-by-step to get it working.

Note: The example account has been immediately deleted to ensure misuse cannot occur, without losing instruction integrity.

Setup Facebook
  1. Go-to: http://www.facebook.com/developers
  2. Click on + Set Up New Application
  3. Set Application Name, agree and Create Application
  4. Left menu click "Connect"
  5. Enter your site URL in the "Connect URL" field. Example here is: http://www.nocostinstall.com/ (Take notice off trailing slash)
  6. Enter "Account Reclamation URL" and adding register.php?do=fbdisconnect to it. Example: http://www.nocostinstall.com/registe...o=fbdisconnect
  7. Save Changes
Now open your vBulletin Admin Control Panel (ACP)

Go to > Settings > Options > FaceBook Options

Enter the "Facebook Application ID" and "Facebook Secret" into their appropriate fields within your ACP. You get them from:

Attachment 45994

Your ACP Facebook settings should then resemble the above identifiers, as below:

Attachment 45995

Adjust what you want activated and save. It really is that easy.

Troubleshooting

Customised Templates

If you have upgraded you must ensure that any edits you have made to the following three templates have been correctly integrated during the upgrade stages. You may have to copy them, revert them to default, then re-enter your modifications to the latest code.
  • header template
  • footer template
  • headinclude template
A sound strategy is to create a default template to test that your template is not the issue, being:

ACP > Styles & Templates > Style Manager > Add New Style
  • Parent Style - No Parent Style
  • Title - Give Name
  • User Selection - Doesn't matter if admin account
  • Display order -
  • Save
Go to the front-end and you should see the Attachment 45996 image in the header and the Like button above threads.

Ability To Post Feature

As I learned from Lynne myself, you must be connected using the above button before you can use the post to Facebook functions. The like button will work because your browser has your Facebook login recorded, hence why you can Like, but not post, when not connected.

To connect, press the connect button located in the header and follow the prompts.

Once you are connected, your Facebook avatar should show in the header now, as per the below example, and you will see the "Publish to Facebook" beside posting areas you have activated, (new threads, posts, blogs, blog comments, articles, article comments).

Attachment 45997

If you don't see this, then you have an issue elsewhere, ie. incorrect details filled in within your ACP Facebook settings. If you have used this on 4.0.3 and all settings are correct, then try the following:

Go to > usercp.php Settings page > Edit Connections > Ensure it isn't saying your connected, but showing in the header as not connected. I found this myself with my account here on vbulletin.com. Javascript and such just do silly things at times, accept it.

You may have to dump your browsers cache, as an existing cache template may be interfering. This can also occur via active logins your browser stores.

Third Party Modifications & Plugins

If you haven't tried the above in conjunction with disabling every and any third party product and plugin, so you are testing within a completely default environment, then you need too. Mods, hacks, whatever you want to call them, they can and do cause conflicts, issues, and so forth with default features, especially new one's that whilst they may have worked in previous versions, don't work now.

If you find suddenly that your Facebook integration now works, which it should in a default environment with all settings correct, then slowly enable one by one third party apps until you find the one causing conflicts, then you need to discuss with that developer the issue, not here at vbulletin.com.

Conclusion

Double check, triple check, re-copy and paste application id and secret, because you may miss it with the eye when Facebook have changed the secret, which has happened on people here who have used the existing connect feature.
Attached Images


الساعة الآن 05:29 AM

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227